diff options
Diffstat (limited to 'editors/code/src/lsp_ext.ts')
-rw-r--r-- | editors/code/src/lsp_ext.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/code/src/lsp_ext.ts b/editors/code/src/lsp_ext.ts index f280bba3d..d167041c4 100644 --- a/editors/code/src/lsp_ext.ts +++ b/editors/code/src/lsp_ext.ts | |||
@@ -4,8 +4,8 @@ | |||
4 | 4 | ||
5 | import * as lc from "vscode-languageclient"; | 5 | import * as lc from "vscode-languageclient"; |
6 | 6 | ||
7 | export const analyzerStatus = new lc.RequestType<null, string, void>("rust-analyzer/analyzerStatus"); | 7 | export const analyzerStatus = new lc.RequestType0<string, void>("rust-analyzer/analyzerStatus"); |
8 | export const memoryUsage = new lc.RequestType<null, string, void>("rust-analyzer/memoryUsage"); | 8 | export const memoryUsage = new lc.RequestType0<string, void>("rust-analyzer/memoryUsage"); |
9 | 9 | ||
10 | export type Status = "loading" | "ready" | "invalid" | "needsReload"; | 10 | export type Status = "loading" | "ready" | "invalid" | "needsReload"; |
11 | export interface StatusParams { | 11 | export interface StatusParams { |
@@ -13,7 +13,7 @@ export interface StatusParams { | |||
13 | } | 13 | } |
14 | export const status = new lc.NotificationType<StatusParams>("rust-analyzer/status"); | 14 | export const status = new lc.NotificationType<StatusParams>("rust-analyzer/status"); |
15 | 15 | ||
16 | export const reloadWorkspace = new lc.RequestType<null, null, void>("rust-analyzer/reloadWorkspace"); | 16 | export const reloadWorkspace = new lc.RequestType0<null, void>("rust-analyzer/reloadWorkspace"); |
17 | 17 | ||
18 | export interface SyntaxTreeParams { | 18 | export interface SyntaxTreeParams { |
19 | textDocument: lc.TextDocumentIdentifier; | 19 | textDocument: lc.TextDocumentIdentifier; |