summaryrefslogtreecommitdiff
path: root/cli/tsc/99_main_compiler.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tsc/99_main_compiler.js')
-rw-r--r--cli/tsc/99_main_compiler.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js
index f8eabc890..c84c2365c 100644
--- a/cli/tsc/99_main_compiler.js
+++ b/cli/tsc/99_main_compiler.js
@@ -594,6 +594,22 @@ delete Object.prototype.__proto__;
),
);
}
+ case "getCompletionDetails": {
+ debug("request", request);
+ return respond(
+ id,
+ languageService.getCompletionEntryDetails(
+ request.args.specifier,
+ request.args.position,
+ request.args.name,
+ undefined,
+ request.args.source,
+ undefined,
+ // @ts-expect-error this exists in 4.3 but not part of the d.ts
+ request.args.data,
+ ),
+ );
+ }
case "getCompletions": {
return respond(
id,