Skip to content

Commit b2cda16

Browse files
committed
Update LKG
1 parent 68e28da commit b2cda16

9 files changed

+4206
-1113
lines changed

lib/enu/diagnosticMessages.generated.json.lcg

+18
Original file line numberDiff line numberDiff line change
@@ -2061,6 +2061,12 @@
20612061
</Str>
20622062
<Disp Icon="Str" />
20632063
</Item>
2064+
<Item ItemId=";Convert_to_named_parameters_95075" ItemType="0" PsrId="306" Leaf="true">
2065+
<Str Cat="Text">
2066+
<Val><![CDATA[Convert to named parameters]]></Val>
2067+
</Str>
2068+
<Disp Icon="Str" />
2069+
</Item>
20642070
<Item ItemId=";Corrupted_locale_file_0_6051" ItemType="0" PsrId="306" Leaf="true">
20652071
<Str Cat="Text">
20662072
<Val><![CDATA[Corrupted locale file {0}.]]></Val>
@@ -4521,6 +4527,12 @@
45214527
</Str>
45224528
<Disp Icon="Str" />
45234529
</Item>
4530+
<Item ItemId=";Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381" ItemType="0" PsrId="306" Leaf="true">
4531+
<Str Cat="Text">
4532+
<Val><![CDATA[Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}']]></Val>
4533+
</Str>
4534+
<Disp Icon="Str" />
4535+
</Item>
45244536
<Item ItemId=";Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372" ItemType="0" PsrId="306" Leaf="true">
45254537
<Str Cat="Text">
45264538
<Val><![CDATA[Project '{0}' is out of date because output of its dependency '{1}' has changed]]></Val>
@@ -6285,6 +6297,12 @@
62856297
</Str>
62866298
<Disp Icon="Str" />
62876299
</Item>
6300+
<Item ItemId=";Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103" ItemType="0" PsrId="306" Leaf="true">
6301+
<Str Cat="Text">
6302+
<Val><![CDATA[Type parameter '{0}' of exported mapped object type is using private name '{1}'.]]></Val>
6303+
</Str>
6304+
<Disp Icon="Str" />
6305+
</Item>
62886306
<Item ItemId=";Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083" ItemType="0" PsrId="306" Leaf="true">
62896307
<Str Cat="Text">
62906308
<Val><![CDATA[Type parameter '{0}' of exported type alias has or is using private name '{1}'.]]></Val>

lib/protocol.d.ts

+25
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ declare namespace ts.server.protocol {
4949
OpenExternalProject = "openExternalProject",
5050
OpenExternalProjects = "openExternalProjects",
5151
CloseExternalProject = "closeExternalProject",
52+
UpdateOpen = "updateOpen",
5253
GetOutliningSpans = "getOutliningSpans",
5354
TodoComments = "todoComments",
5455
Indentation = "indentation",
@@ -1117,6 +1118,30 @@ declare namespace ts.server.protocol {
11171118
*/
11181119
interface CloseExternalProjectResponse extends Response {
11191120
}
1121+
/**
1122+
* Request to synchronize list of open files with the client
1123+
*/
1124+
interface UpdateOpenRequest extends Request {
1125+
command: CommandTypes.UpdateOpen;
1126+
arguments: UpdateOpenRequestArgs;
1127+
}
1128+
/**
1129+
* Arguments to UpdateOpenRequest
1130+
*/
1131+
interface UpdateOpenRequestArgs {
1132+
/**
1133+
* List of newly open files
1134+
*/
1135+
openFiles?: OpenRequestArgs[];
1136+
/**
1137+
* List of open files files that were changes
1138+
*/
1139+
changedFiles?: FileCodeEdits[];
1140+
/**
1141+
* List of files that were closed
1142+
*/
1143+
closedFiles?: string[];
1144+
}
11201145
/**
11211146
* Request to set compiler options for inferred projects.
11221147
* External projects are opened / closed explicitly.

lib/tsc.js

+268-109
Large diffs are not rendered by default.

lib/tsserver.js

+940-242
Large diffs are not rendered by default.

lib/tsserverlibrary.d.ts

+29
Original file line numberDiff line numberDiff line change
@@ -5769,6 +5769,7 @@ declare namespace ts.server.protocol {
57695769
OpenExternalProject = "openExternalProject",
57705770
OpenExternalProjects = "openExternalProjects",
57715771
CloseExternalProject = "closeExternalProject",
5772+
UpdateOpen = "updateOpen",
57725773
GetOutliningSpans = "getOutliningSpans",
57735774
TodoComments = "todoComments",
57745775
Indentation = "indentation",
@@ -6837,6 +6838,30 @@ declare namespace ts.server.protocol {
68376838
*/
68386839
interface CloseExternalProjectResponse extends Response {
68396840
}
6841+
/**
6842+
* Request to synchronize list of open files with the client
6843+
*/
6844+
interface UpdateOpenRequest extends Request {
6845+
command: CommandTypes.UpdateOpen;
6846+
arguments: UpdateOpenRequestArgs;
6847+
}
6848+
/**
6849+
* Arguments to UpdateOpenRequest
6850+
*/
6851+
interface UpdateOpenRequestArgs {
6852+
/**
6853+
* List of newly open files
6854+
*/
6855+
openFiles?: OpenRequestArgs[];
6856+
/**
6857+
* List of open files files that were changes
6858+
*/
6859+
changedFiles?: FileCodeEdits[];
6860+
/**
6861+
* List of files that were closed
6862+
*/
6863+
closedFiles?: string[];
6864+
}
68406865
/**
68416866
* Request to set compiler options for inferred projects.
68426867
* External projects are opened / closed explicitly.
@@ -8676,6 +8701,7 @@ declare namespace ts.server {
86768701
*/
86778702
private onConfigFileChangeForOpenScriptInfo;
86788703
private removeProject;
8704+
private assignOrphanScriptInfosToInferredProject;
86798705
/**
86808706
* Remove this file from the set of open, non-configured files.
86818707
* @param info The file that has been closed or newly configured
@@ -8794,6 +8820,9 @@ declare namespace ts.server {
87948820
*/
87958821
openClientFile(fileName: string, fileContent?: string, scriptKind?: ScriptKind, projectRootPath?: string): OpenConfiguredProjectResult;
87968822
private findExternalProjectContainingOpenScriptInfo;
8823+
private getOrCreateOpenScriptInfo;
8824+
private assignProjectToOpenedScriptInfo;
8825+
private cleanupAfterOpeningFile;
87978826
openClientFileWithNormalizedPath(fileName: NormalizedPath, fileContent?: string, scriptKind?: ScriptKind, hasMixedContent?: boolean, projectRootPath?: NormalizedPath): OpenConfiguredProjectResult;
87988827
private removeOrphanConfiguredProjects;
87998828
private removeOrphanScriptInfos;

0 commit comments

Comments
 (0)