typescript 4.7.0-dev.20220329 → 4.7.0-dev.20220401

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2977,6 +2977,7 @@ declare namespace ts {
2977
2977
  maxNodeModuleJsDepth?: number;
2978
2978
  module?: ModuleKind;
2979
2979
  moduleResolution?: ModuleResolutionKind;
2980
+ moduleSuffixes?: string[];
2980
2981
  moduleDetection?: ModuleDetectionKind;
2981
2982
  newLine?: NewLineKind;
2982
2983
  noEmit?: boolean;
@@ -3163,7 +3164,7 @@ declare namespace ts {
3163
3164
  realpath?(path: string): string;
3164
3165
  getCurrentDirectory?(): string;
3165
3166
  getDirectories?(path: string): string[];
3166
- useCaseSensitiveFileNames?: boolean | (() => boolean);
3167
+ useCaseSensitiveFileNames?: boolean | (() => boolean) | undefined;
3167
3168
  }
3168
3169
  /**
3169
3170
  * Used by services to specify the minimum host area required to set up source files under any compilation settings
@@ -4099,6 +4100,8 @@ declare namespace ts {
4099
4100
  readonly includeAutomaticOptionalChainCompletions?: boolean;
4100
4101
  readonly includeCompletionsWithInsertText?: boolean;
4101
4102
  readonly includeCompletionsWithClassMemberSnippets?: boolean;
4103
+ readonly includeCompletionsWithObjectLiteralMethodSnippets?: boolean;
4104
+ readonly useLabelDetailsInCompletionEntries?: boolean;
4102
4105
  readonly allowIncompleteCompletions?: boolean;
4103
4106
  readonly importModuleSpecifierPreference?: "shortest" | "project-relative" | "relative" | "non-relative";
4104
4107
  /** Determines whether we import `foo/index.ts` as "foo", "foo/index", or "foo/index.js" */
@@ -6484,6 +6487,7 @@ declare namespace ts {
6484
6487
  hasAction?: true;
6485
6488
  source?: string;
6486
6489
  sourceDisplay?: SymbolDisplayPart[];
6490
+ labelDetails?: CompletionEntryLabelDetails;
6487
6491
  isRecommended?: true;
6488
6492
  isFromUncheckedFile?: true;
6489
6493
  isPackageJsonImport?: true;
@@ -6498,6 +6502,10 @@ declare namespace ts {
6498
6502
  */
6499
6503
  data?: CompletionEntryData;
6500
6504
  }
6505
+ interface CompletionEntryLabelDetails {
6506
+ detail?: string;
6507
+ description?: string;
6508
+ }
6501
6509
  interface CompletionEntryDetails {
6502
6510
  name: string;
6503
6511
  kind: ScriptElementKind;