@typescript-deploys/pr-build 4.7.0-pr-48784-4 → 4.7.0-pr-48784-10
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 +1 -0
- package/lib/tsc.js +119 -51
- package/lib/tsserver.js +229 -93
- package/lib/tsserverlibrary.d.ts +12 -0
- package/lib/tsserverlibrary.js +229 -93
- package/lib/typescript.d.ts +11 -0
- package/lib/typescript.js +222 -86
- package/lib/typescriptServices.d.ts +11 -0
- package/lib/typescriptServices.js +222 -86
- package/lib/typingsInstaller.js +120 -51
- package/package.json +1 -1
package/lib/tsserverlibrary.d.ts
CHANGED
|
@@ -6435,7 +6435,18 @@ declare namespace ts {
|
|
|
6435
6435
|
argumentIndex: number;
|
|
6436
6436
|
argumentCount: number;
|
|
6437
6437
|
}
|
|
6438
|
+
enum CompletionInfoFlags {
|
|
6439
|
+
None = 0,
|
|
6440
|
+
MayIncludeAutoImports = 1,
|
|
6441
|
+
IsImportStatementCompletion = 2,
|
|
6442
|
+
IsContinuation = 4,
|
|
6443
|
+
ResolvedModuleSpecifiers = 8,
|
|
6444
|
+
ResolvedModuleSpecifiersBeyondLimit = 16,
|
|
6445
|
+
MayIncludeMethodSnippets = 32
|
|
6446
|
+
}
|
|
6438
6447
|
interface CompletionInfo {
|
|
6448
|
+
/** For performance telemetry. */
|
|
6449
|
+
flags?: CompletionInfoFlags;
|
|
6439
6450
|
/** Not true for all global completions. This will be true if the enclosing scope matches a few syntax kinds. See `isSnippetScope`. */
|
|
6440
6451
|
isGlobalCompletion: boolean;
|
|
6441
6452
|
isMemberCompletion: boolean;
|
|
@@ -8823,6 +8834,7 @@ declare namespace ts.server.protocol {
|
|
|
8823
8834
|
body?: CompletionInfo;
|
|
8824
8835
|
}
|
|
8825
8836
|
interface CompletionInfo {
|
|
8837
|
+
readonly flags?: number;
|
|
8826
8838
|
readonly isGlobalCompletion: boolean;
|
|
8827
8839
|
readonly isMemberCompletion: boolean;
|
|
8828
8840
|
readonly isNewIdentifierLocation: boolean;
|