diff options
author | Jean Pierre <jeanp413@hotmail.com> | 2021-04-19 00:11:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-19 15:11:26 +1000 |
commit | 65a2a04d3bf116c1dee8d2528ec18e71ca4d7bf2 (patch) | |
tree | 6d91d77583d82c0145f8f90ccf4e83bc2ae38228 /cli/tsc/compiler.d.ts | |
parent | 0552eaf569ef910b0d132b6e60758f17a4519d91 (diff) |
feat(lsp): implement textDocument/prepareCallHierarchy (#10061)
Diffstat (limited to 'cli/tsc/compiler.d.ts')
-rw-r--r-- | cli/tsc/compiler.d.ts | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts index 0b1f5e4de..1488f1b02 100644 --- a/cli/tsc/compiler.d.ts +++ b/cli/tsc/compiler.d.ts @@ -63,7 +63,10 @@ declare global { | GetReferencesRequest | GetSignatureHelpItemsRequest | GetSmartSelectionRange - | GetSupportedCodeFixes; + | GetSupportedCodeFixes + | PrepareCallHierarchy + | ProvideCallHierarchyIncomingCalls + | ProvideCallHierarchyOutgoingCalls; interface BaseLanguageServerRequest { id: number; @@ -185,4 +188,24 @@ declare global { interface GetSupportedCodeFixes extends BaseLanguageServerRequest { method: "getSupportedCodeFixes"; } + + interface PrepareCallHierarchy extends BaseLanguageServerRequest { + method: "prepareCallHierarchy"; + specifier: string; + position: number; + } + + interface ProvideCallHierarchyIncomingCalls + extends BaseLanguageServerRequest { + method: "provideCallHierarchyIncomingCalls"; + specifier: string; + position: number; + } + + interface ProvideCallHierarchyOutgoingCalls + extends BaseLanguageServerRequest { + method: "provideCallHierarchyOutgoingCalls"; + specifier: string; + position: number; + } } |