diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2020-12-08 11:36:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 11:36:13 +0100 |
commit | e94a18240e5b6312358f787c19dffd3006300a4b (patch) | |
tree | be99df02a2851beea0ccec60321deefc46b0d465 /cli/tsc/compiler.d.ts | |
parent | 8bf3e0f4c6980c0f3ed8b618062657b017a0f609 (diff) |
feat(lsp): basic support for textDocument/completion (#8651)
Diffstat (limited to 'cli/tsc/compiler.d.ts')
-rw-r--r-- | cli/tsc/compiler.d.ts | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts index 1a899c291..a1f4e851c 100644 --- a/cli/tsc/compiler.d.ts +++ b/cli/tsc/compiler.d.ts @@ -48,7 +48,8 @@ declare global { | GetQuickInfoRequest | GetDocumentHighlightsRequest | GetReferencesRequest - | GetDefinitionRequest; + | GetDefinitionRequest + | GetCompletionsRequest; interface BaseLanguageServerRequest { id: number; @@ -100,4 +101,11 @@ declare global { specifier: string; position: number; } + + interface GetCompletionsRequest extends BaseLanguageServerRequest { + method: "getCompletions"; + specifier: string; + position: number; + preferences: ts.UserPreferences; + } } |