diff options
Diffstat (limited to 'cli/tsc/compiler.d.ts')
-rw-r--r-- | cli/tsc/compiler.d.ts | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts index 7ba92a96f..7a8049c3a 100644 --- a/cli/tsc/compiler.d.ts +++ b/cli/tsc/compiler.d.ts @@ -36,16 +36,14 @@ declare global { // deno-lint-ignore no-explicit-any jsonOpSync<T>(name: string, params: T): any; ops(): void; - print(msg: string): void; + print(msg: string, code?: number): void; registerErrorClass(name: string, Ctor: typeof Error): void; } type LanguageServerRequest = | ConfigureRequest | GetAsset - | GetSyntacticDiagnosticsRequest - | GetSemanticDiagnosticsRequest - | GetSuggestionDiagnosticsRequest + | GetDiagnosticsRequest | GetQuickInfoRequest | GetDocumentHighlightsRequest | GetReferencesRequest @@ -69,18 +67,8 @@ declare global { specifier: string; } - interface GetSyntacticDiagnosticsRequest extends BaseLanguageServerRequest { - method: "getSyntacticDiagnostics"; - specifier: string; - } - - interface GetSemanticDiagnosticsRequest extends BaseLanguageServerRequest { - method: "getSemanticDiagnostics"; - specifier: string; - } - - interface GetSuggestionDiagnosticsRequest extends BaseLanguageServerRequest { - method: "getSuggestionDiagnostics"; + interface GetDiagnosticsRequest extends BaseLanguageServerRequest { + method: "getDiagnostics"; specifier: string; } |