diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2022-07-12 09:35:18 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 09:35:18 +1000 |
commit | 5db16d122914336124620a5152655917e58f05a6 (patch) | |
tree | 41c5124e3fbe7ba13a54ab710c2bdbabbbea1d95 /cli/tsc/compiler.d.ts | |
parent | 82431062fa6dd82679e1903dda4e33103a0299da (diff) |
fix(lsp): enable auto imports (#15145)
Fixes: #15111
Diffstat (limited to 'cli/tsc/compiler.d.ts')
-rw-r--r-- | cli/tsc/compiler.d.ts | 6 |
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"; } } |