summaryrefslogtreecommitdiff
path: root/cli/tsc/compiler.d.ts
diff options
context:
space:
mode:
authorYuki Tanaka <uki00a@gmail.com>2021-02-16 11:34:09 +0900
committerGitHub <noreply@github.com>2021-02-16 13:34:09 +1100
commitccd6ee5c2394418c078f1a1be9e5cc1012829cbc (patch)
tree34d289fd504a89493de295ae9cd9a1cc771fede6 /cli/tsc/compiler.d.ts
parent3f5265b21ec578e543d09cdc9d8b19d9655aebd9 (diff)
feat(lsp): Implement `textDocument/signatureHelp` (#9330)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Diffstat (limited to 'cli/tsc/compiler.d.ts')
-rw-r--r--cli/tsc/compiler.d.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts
index 4e5dcdb96..7d102eb56 100644
--- a/cli/tsc/compiler.d.ts
+++ b/cli/tsc/compiler.d.ts
@@ -54,6 +54,7 @@ declare global {
| GetNavigationTree
| GetQuickInfoRequest
| GetReferencesRequest
+ | GetSignatureHelpItemsRequest
| GetSupportedCodeFixes;
interface BaseLanguageServerRequest {
@@ -144,6 +145,13 @@ declare global {
position: number;
}
+ interface GetSignatureHelpItemsRequest extends BaseLanguageServerRequest {
+ method: "getSignatureHelpItems";
+ specifier: string;
+ position: number;
+ options: ts.SignatureHelpItemsOptions;
+ }
+
interface GetSupportedCodeFixes extends BaseLanguageServerRequest {
method: "getSupportedCodeFixes";
}