summaryrefslogtreecommitdiff
path: root/cli/tsc/compiler.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tsc/compiler.d.ts')
-rw-r--r--cli/tsc/compiler.d.ts14
1 files changed, 13 insertions, 1 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts
index d37b56c06..a3200469c 100644
--- a/cli/tsc/compiler.d.ts
+++ b/cli/tsc/compiler.d.ts
@@ -51,6 +51,7 @@ declare global {
| GetAsset
| GetCodeFixes
| GetCombinedCodeFix
+ | GetCompletionDetails
| GetCompletionsRequest
| GetDefinitionRequest
| GetDiagnosticsRequest
@@ -102,11 +103,22 @@ declare global {
fixId: {};
}
+ interface GetCompletionDetails extends BaseLanguageServerRequest {
+ method: "getCompletionDetails";
+ args: {
+ specifier: string;
+ position: number;
+ name: string;
+ source?: string;
+ data?: unknown;
+ };
+ }
+
interface GetCompletionsRequest extends BaseLanguageServerRequest {
method: "getCompletions";
specifier: string;
position: number;
- preferences: ts.UserPreferences;
+ preferences: ts.GetCompletionsAtPositionOptions;
}
interface GetDiagnosticsRequest extends BaseLanguageServerRequest {