typescript 4.7.0-dev.20220330 → 4.7.0-dev.20220402

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
@@ -4100,6 +4101,7 @@ declare namespace ts {
4100
4101
  readonly includeCompletionsWithInsertText?: boolean;
4101
4102
  readonly includeCompletionsWithClassMemberSnippets?: boolean;
4102
4103
  readonly includeCompletionsWithObjectLiteralMethodSnippets?: boolean;
4104
+ readonly useLabelDetailsInCompletionEntries?: boolean;
4103
4105
  readonly allowIncompleteCompletions?: boolean;
4104
4106
  readonly importModuleSpecifierPreference?: "shortest" | "project-relative" | "relative" | "non-relative";
4105
4107
  /** Determines whether we import `foo/index.ts` as "foo", "foo/index", or "foo/index.js" */
@@ -6485,6 +6487,7 @@ declare namespace ts {
6485
6487
  hasAction?: true;
6486
6488
  source?: string;
6487
6489
  sourceDisplay?: SymbolDisplayPart[];
6490
+ labelDetails?: CompletionEntryLabelDetails;
6488
6491
  isRecommended?: true;
6489
6492
  isFromUncheckedFile?: true;
6490
6493
  isPackageJsonImport?: true;
@@ -6499,6 +6502,10 @@ declare namespace ts {
6499
6502
  */
6500
6503
  data?: CompletionEntryData;
6501
6504
  }
6505
+ interface CompletionEntryLabelDetails {
6506
+ detail?: string;
6507
+ description?: string;
6508
+ }
6502
6509
  interface CompletionEntryDetails {
6503
6510
  name: string;
6504
6511
  kind: ScriptElementKind;