Skip to content

Commit 4934f1b

Browse files
authored
Update protocol.ts
1 parent f350b52 commit 4934f1b

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

src/server/protocol.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,7 +1822,7 @@ export interface ApplyChangedToOpenFilesRequestArgs {
18221822
*/
18231823
openFiles?: ExternalFile[];
18241824
/**
1825-
* List of open files files that were changes
1825+
* List of open files that were changed
18261826
*/
18271827
changedFiles?: ChangedOpenFile[];
18281828
/**
@@ -1848,7 +1848,7 @@ export interface UpdateOpenRequestArgs {
18481848
*/
18491849
openFiles?: OpenRequestArgs[];
18501850
/**
1851-
* List of open files files that were changes
1851+
* List of open files that were changed
18521852
*/
18531853
changedFiles?: FileCodeEdits[];
18541854
/**
@@ -2002,7 +2002,8 @@ export interface EmitResult {
20022002
*/
20032003
export interface QuickInfoRequest extends FileLocationRequest {
20042004
command: CommandTypes.Quickinfo;
2005-
arguments: FileLocationRequestArgs;
2005+
// FIX: was FileLocationRequestArgs, which silently dropped verbosityLevel
2006+
arguments: QuickInfoRequestArgs;
20062007
}
20072008

20082009
export interface QuickInfoRequestArgs extends FileLocationRequestArgs {
@@ -2595,7 +2596,7 @@ export interface Diagnostic {
25952596
reportsDeprecated?: {};
25962597

25972598
/**
2598-
* Any related spans the diagnostic may have, such as other locations relevant to an error, such as declarartion sites
2599+
* Any related spans the diagnostic may have, such as other locations relevant to an error, such as declaration sites
25992600
*/
26002601
relatedInformation?: DiagnosticRelatedInformation[];
26012602

@@ -2679,7 +2680,7 @@ export interface ConfigFileDiagnosticEventBody {
26792680
configFile: string;
26802681

26812682
/**
2682-
* An arry of diagnostic information items for the found config file.
2683+
* An array of diagnostic information items for the found config file.
26832684
*/
26842685
diagnostics: DiagnosticWithFileName[];
26852686
}
@@ -3269,7 +3270,7 @@ export const enum ModuleResolutionKind {
32693270
Node = "node",
32703271
/** @deprecated Renamed to `Node10` */
32713272
NodeJs = "node",
3272-
/** @deprecated */
3273+
/** @deprecated Use `Node16` or `NodeNext` for modern module resolution. */
32733274
Node10 = "node10",
32743275
Node16 = "node16",
32753276
NodeNext = "nodenext",
@@ -3308,7 +3309,8 @@ export const enum ScriptTarget {
33083309
LatestStandard = ES2025,
33093310
}
33103311

3311-
{
3312+
/** @internal */
3313+
namespace _assertTypesComplete {
33123314
type AssertKeysComplete<Source extends { [K in keyof Target]: any; }, Target> = Source;
33133315
// eslint-disable-next-line @typescript-eslint/no-unused-vars
33143316
type CopiedTypesComplete = [

0 commit comments

Comments
 (0)