summaryrefslogtreecommitdiff
path: root/cli/tsc/compiler.d.ts
diff options
context:
space:
mode:
authorhrsh7th <hrsh7th@gmail.com>2020-12-30 09:58:20 +0900
committerGitHub <noreply@github.com>2020-12-30 11:58:20 +1100
commit57b0562957f0887611526bf7e878ac34fdcd6393 (patch)
treecf419c9892b2d0275a7d9ffa79a4e79728fd5b97 /cli/tsc/compiler.d.ts
parentd5f3a749eb9b86ed24378a3ee39ee443c374da53 (diff)
feat(lsp): Implement textDocument/rename (#8910)
Diffstat (limited to 'cli/tsc/compiler.d.ts')
-rw-r--r--cli/tsc/compiler.d.ts12
1 files changed, 11 insertions, 1 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts
index 39afbe884..7ba92a96f 100644
--- a/cli/tsc/compiler.d.ts
+++ b/cli/tsc/compiler.d.ts
@@ -50,7 +50,8 @@ declare global {
| GetDocumentHighlightsRequest
| GetReferencesRequest
| GetDefinitionRequest
- | GetCompletionsRequest;
+ | GetCompletionsRequest
+ | FindRenameLocationsRequest;
interface BaseLanguageServerRequest {
id: number;
@@ -114,4 +115,13 @@ declare global {
position: number;
preferences: ts.UserPreferences;
}
+
+ interface FindRenameLocationsRequest extends BaseLanguageServerRequest {
+ method: "findRenameLocations";
+ specifier: string;
+ position: number;
+ findInStrings: boolean;
+ findInComments: boolean;
+ providePrefixAndSuffixTextForRename: boolean;
+ }
}