typescript 4.7.0-dev.20220328 → 4.7.0-dev.20220331
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.
- package/lib/protocol.d.ts +30 -0
- package/lib/tsc.js +163 -139
- package/lib/tsserver.js +618 -351
- package/lib/tsserverlibrary.d.ts +38 -0
- package/lib/tsserverlibrary.js +618 -351
- package/lib/typescript.d.ts +8 -0
- package/lib/typescript.js +600 -349
- package/lib/typescriptServices.d.ts +8 -0
- package/lib/typescriptServices.js +600 -349
- package/lib/typingsInstaller.js +181 -153
- package/package.json +1 -1
package/lib/typescript.d.ts
CHANGED
|
@@ -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;
|
|
@@ -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;
|