summaryrefslogtreecommitdiff
path: root/cli/tsc/compiler.d.ts
diff options
context:
space:
mode:
authorJean Pierre <jeanp413@hotmail.com>2021-03-23 18:33:25 -0500
committerGitHub <noreply@github.com>2021-03-24 10:33:25 +1100
commit77cfadf5321df90ea5fd625e2eb9d51b3920b437 (patch)
tree3bb56c344fd7cf5edc1516b78673ae1f35209d1e /cli/tsc/compiler.d.ts
parentb233985feacb6a869e491e28474faa936dc07538 (diff)
feat(lsp): implement textDocument/selectionRange (#9845)
Ref: #8643
Diffstat (limited to 'cli/tsc/compiler.d.ts')
-rw-r--r--cli/tsc/compiler.d.ts7
1 files changed, 7 insertions, 0 deletions
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";
}