diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2022-10-16 13:39:43 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-16 13:39:43 +1100 |
commit | 7d78f58187cdcb9bed632992cde347fd5f3c83eb (patch) | |
tree | 80bd06e16db12e7578b2946eaf0b72ca0ac34c6c /cli/tsc/99_main_compiler.js | |
parent | 6d2656fd56e8ac0f1b1443e28d474bf3ceca89bb (diff) |
feat: support inlay hints (#16287)
Closes: #11853
Diffstat (limited to 'cli/tsc/99_main_compiler.js')
-rw-r--r-- | cli/tsc/99_main_compiler.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js index ab43af38d..b39f56cf6 100644 --- a/cli/tsc/99_main_compiler.js +++ b/cli/tsc/99_main_compiler.js @@ -898,6 +898,15 @@ delete Object.prototype.__proto__; ), ); } + case "provideInlayHints": + return respond( + id, + languageService.provideInlayHints( + request.specifier, + request.span, + request.preferences, + ), + ); default: throw new TypeError( // @ts-ignore exhausted case statement sets type to never |