diff options
Diffstat (limited to 'cli/tsc/99_main_compiler.js')
-rw-r--r-- | cli/tsc/99_main_compiler.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js index dc2b59533..ad661e087 100644 --- a/cli/tsc/99_main_compiler.js +++ b/cli/tsc/99_main_compiler.js @@ -726,6 +726,33 @@ delete Object.prototype.__proto__; ts.getSupportedCodeFixes(), ); } + case "prepareCallHierarchy": { + return respond( + id, + languageService.prepareCallHierarchy( + request.specifier, + request.position, + ), + ); + } + case "provideCallHierarchyIncomingCalls": { + return respond( + id, + languageService.provideCallHierarchyIncomingCalls( + request.specifier, + request.position, + ), + ); + } + case "provideCallHierarchyOutgoingCalls": { + return respond( + id, + languageService.provideCallHierarchyOutgoingCalls( + request.specifier, + request.position, + ), + ); + } default: throw new TypeError( // @ts-ignore exhausted case statement sets type to never |