From 77cfadf5321df90ea5fd625e2eb9d51b3920b437 Mon Sep 17 00:00:00 2001 From: Jean Pierre Date: Tue, 23 Mar 2021 18:33:25 -0500 Subject: feat(lsp): implement textDocument/selectionRange (#9845) Ref: #8643 --- cli/tsc/compiler.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cli/tsc/compiler.d.ts') diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts index a3200469c..bdbc89a87 100644 --- a/cli/tsc/compiler.d.ts +++ b/cli/tsc/compiler.d.ts @@ -61,6 +61,7 @@ declare global { | GetQuickInfoRequest | GetReferencesRequest | GetSignatureHelpItemsRequest + | GetSmartSelectionRange | GetSupportedCodeFixes; interface BaseLanguageServerRequest { @@ -169,6 +170,12 @@ declare global { options: ts.SignatureHelpItemsOptions; } + interface GetSmartSelectionRange extends BaseLanguageServerRequest { + method: "getSmartSelectionRange"; + specifier: string; + position: number; + } + interface GetSupportedCodeFixes extends BaseLanguageServerRequest { method: "getSupportedCodeFixes"; } -- cgit v1.2.3