summaryrefslogtreecommitdiff
path: root/cli/tsc/compiler.d.ts
diff options
context:
space:
mode:
authorHirochika Matsumoto <matsujika@gmail.com>2021-01-13 06:53:27 +0900
committerGitHub <noreply@github.com>2021-01-13 08:53:27 +1100
commit8d5af6ca5264201be1cb04b0bb1a0b88ce5166da (patch)
treeb466958b75a1eb4f7f71626ea59e272dac8ecd0a /cli/tsc/compiler.d.ts
parent46a072c79267ee937b6fd14ad22b2aff2ff3d739 (diff)
feat(lsp): Add textDocument/implementation (#9071)
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 a2e004d8c..7fd4ce37d 100644
--- a/cli/tsc/compiler.d.ts
+++ b/cli/tsc/compiler.d.ts
@@ -49,6 +49,7 @@ declare global {
| GetReferencesRequest
| GetDefinitionRequest
| GetCompletionsRequest
+ | GetImplementationRequest
| FindRenameLocationsRequest;
interface BaseLanguageServerRequest {
@@ -104,6 +105,12 @@ declare global {
preferences: ts.UserPreferences;
}
+ interface GetImplementationRequest extends BaseLanguageServerRequest {
+ method: "getImplementation";
+ specifier: string;
+ position: number;
+ }
+
interface FindRenameLocationsRequest extends BaseLanguageServerRequest {
method: "findRenameLocations";
specifier: string;