From 4934f1be693bee6203c6b9c6e2d291cea9226aff Mon Sep 17 00:00:00 2001 From: iamdaven Date: Wed, 13 May 2026 21:22:41 -1000 Subject: [PATCH] Update protocol.ts --- src/server/protocol.ts | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/server/protocol.ts b/src/server/protocol.ts index dbcbfb3e17169..a621da7189975 100644 --- a/src/server/protocol.ts +++ b/src/server/protocol.ts @@ -1822,7 +1822,7 @@ export interface ApplyChangedToOpenFilesRequestArgs { */ openFiles?: ExternalFile[]; /** - * List of open files files that were changes + * List of open files that were changed */ changedFiles?: ChangedOpenFile[]; /** @@ -1848,7 +1848,7 @@ export interface UpdateOpenRequestArgs { */ openFiles?: OpenRequestArgs[]; /** - * List of open files files that were changes + * List of open files that were changed */ changedFiles?: FileCodeEdits[]; /** @@ -2002,7 +2002,8 @@ export interface EmitResult { */ export interface QuickInfoRequest extends FileLocationRequest { command: CommandTypes.Quickinfo; - arguments: FileLocationRequestArgs; + // FIX: was FileLocationRequestArgs, which silently dropped verbosityLevel + arguments: QuickInfoRequestArgs; } export interface QuickInfoRequestArgs extends FileLocationRequestArgs { @@ -2595,7 +2596,7 @@ export interface Diagnostic { reportsDeprecated?: {}; /** - * Any related spans the diagnostic may have, such as other locations relevant to an error, such as declarartion sites + * Any related spans the diagnostic may have, such as other locations relevant to an error, such as declaration sites */ relatedInformation?: DiagnosticRelatedInformation[]; @@ -2679,7 +2680,7 @@ export interface ConfigFileDiagnosticEventBody { configFile: string; /** - * An arry of diagnostic information items for the found config file. + * An array of diagnostic information items for the found config file. */ diagnostics: DiagnosticWithFileName[]; } @@ -3269,7 +3270,7 @@ export const enum ModuleResolutionKind { Node = "node", /** @deprecated Renamed to `Node10` */ NodeJs = "node", - /** @deprecated */ + /** @deprecated Use `Node16` or `NodeNext` for modern module resolution. */ Node10 = "node10", Node16 = "node16", NodeNext = "nodenext", @@ -3308,7 +3309,8 @@ export const enum ScriptTarget { LatestStandard = ES2025, } -{ +/** @internal */ +namespace _assertTypesComplete { type AssertKeysComplete = Source; // eslint-disable-next-line @typescript-eslint/no-unused-vars type CopiedTypesComplete = [