typescript 4.7.0-dev.20220408 → 4.7.0-dev.20220417
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/cs/diagnosticMessages.generated.json +2 -0
- package/lib/de/diagnosticMessages.generated.json +2 -0
- package/lib/es/diagnosticMessages.generated.json +2 -0
- package/lib/fr/diagnosticMessages.generated.json +2 -0
- package/lib/it/diagnosticMessages.generated.json +2 -0
- package/lib/ja/diagnosticMessages.generated.json +2 -0
- package/lib/ko/diagnosticMessages.generated.json +2 -0
- package/lib/pl/diagnosticMessages.generated.json +2 -0
- package/lib/protocol.d.ts +4 -0
- package/lib/pt-br/diagnosticMessages.generated.json +2 -0
- package/lib/ru/diagnosticMessages.generated.json +2 -0
- package/lib/tr/diagnosticMessages.generated.json +2 -0
- package/lib/tsc.js +208 -166
- package/lib/tsserver.js +614 -284
- package/lib/tsserverlibrary.d.ts +7 -2
- package/lib/tsserverlibrary.js +614 -284
- package/lib/typescript.d.ts +0 -1
- package/lib/typescript.js +373 -264
- package/lib/typescriptServices.d.ts +0 -1
- package/lib/typescriptServices.js +373 -264
- package/lib/typingsInstaller.js +231 -186
- package/lib/zh-cn/diagnosticMessages.generated.json +2 -0
- package/lib/zh-tw/diagnosticMessages.generated.json +2 -0
- package/package.json +1 -1
package/lib/tsserverlibrary.d.ts
CHANGED
|
@@ -2394,7 +2394,6 @@ declare namespace ts {
|
|
|
2394
2394
|
UseAliasDefinedOutsideCurrentScope = 16384,
|
|
2395
2395
|
UseSingleQuotesForStringLiteralType = 268435456,
|
|
2396
2396
|
NoTypeReduction = 536870912,
|
|
2397
|
-
NoUndefinedOptionalParameterType = 1073741824,
|
|
2398
2397
|
AllowThisInObjectLiteral = 32768,
|
|
2399
2398
|
AllowQualifiedNameInPlaceOfIdentifier = 65536,
|
|
2400
2399
|
/** @deprecated AllowQualifedNameInPlaceOfIdentifier. Use AllowQualifiedNameInPlaceOfIdentifier instead. */
|
|
@@ -7039,6 +7038,7 @@ declare namespace ts.server.protocol {
|
|
|
7039
7038
|
Rename = "rename",
|
|
7040
7039
|
Saveto = "saveto",
|
|
7041
7040
|
SignatureHelp = "signatureHelp",
|
|
7041
|
+
FindSourceDefinition = "findSourceDefinition",
|
|
7042
7042
|
Status = "status",
|
|
7043
7043
|
TypeDefinition = "typeDefinition",
|
|
7044
7044
|
ProjectInfo = "projectInfo",
|
|
@@ -7658,6 +7658,9 @@ declare namespace ts.server.protocol {
|
|
|
7658
7658
|
interface DefinitionAndBoundSpanRequest extends FileLocationRequest {
|
|
7659
7659
|
readonly command: CommandTypes.DefinitionAndBoundSpan;
|
|
7660
7660
|
}
|
|
7661
|
+
interface FindSourceDefinitionRequest extends FileLocationRequest {
|
|
7662
|
+
readonly command: CommandTypes.FindSourceDefinition;
|
|
7663
|
+
}
|
|
7661
7664
|
interface DefinitionAndBoundSpanResponse extends Response {
|
|
7662
7665
|
readonly body: DefinitionInfoAndBoundSpan;
|
|
7663
7666
|
}
|
|
@@ -9906,7 +9909,8 @@ declare namespace ts.server {
|
|
|
9906
9909
|
Inferred = 0,
|
|
9907
9910
|
Configured = 1,
|
|
9908
9911
|
External = 2,
|
|
9909
|
-
AutoImportProvider = 3
|
|
9912
|
+
AutoImportProvider = 3,
|
|
9913
|
+
Auxiliary = 4
|
|
9910
9914
|
}
|
|
9911
9915
|
function allRootFilesAreJsOrDts(project: Project): boolean;
|
|
9912
9916
|
function allFilesAreJsOrDts(project: Project): boolean;
|
|
@@ -10641,6 +10645,7 @@ declare namespace ts.server {
|
|
|
10641
10645
|
private getDefinition;
|
|
10642
10646
|
private mapDefinitionInfoLocations;
|
|
10643
10647
|
private getDefinitionAndBoundSpan;
|
|
10648
|
+
private findSourceDefinition;
|
|
10644
10649
|
private getEmitOutput;
|
|
10645
10650
|
private mapJSDocTagInfo;
|
|
10646
10651
|
private mapDisplayParts;
|