summaryrefslogtreecommitdiff
path: root/cli/tsc/compiler.d.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2022-07-12 09:35:18 +1000
committerGitHub <noreply@github.com>2022-07-12 09:35:18 +1000
commit5db16d122914336124620a5152655917e58f05a6 (patch)
tree41c5124e3fbe7ba13a54ab710c2bdbabbbea1d95 /cli/tsc/compiler.d.ts
parent82431062fa6dd82679e1903dda4e33103a0299da (diff)
fix(lsp): enable auto imports (#15145)
Fixes: #15111
Diffstat (limited to 'cli/tsc/compiler.d.ts')
-rw-r--r--cli/tsc/compiler.d.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts
index 1ba116170..bf0660470 100644
--- a/cli/tsc/compiler.d.ts
+++ b/cli/tsc/compiler.d.ts
@@ -50,6 +50,7 @@ declare global {
}
type LanguageServerRequest =
+ | Restart
| ConfigureRequest
| FindRenameLocationsRequest
| GetAssets
@@ -138,7 +139,8 @@ declare global {
position: number;
name: string;
source?: string;
- data?: unknown;
+ preferences?: ts.UserPreferences;
+ data?: ts.CompletionEntryData;
};
}
@@ -252,7 +254,7 @@ declare global {
position: number;
}
- interface Restart {
+ interface Restart extends BaseLanguageServerRequest {
method: "restart";
}
}