diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/src/commands.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts index 1445e41d3..22509e874 100644 --- a/editors/code/src/commands.ts +++ b/editors/code/src/commands.ts | |||
@@ -442,8 +442,8 @@ export function openDocs(ctx: Ctx): Cmd { | |||
442 | 442 | ||
443 | export function resolveCodeAction(ctx: Ctx): Cmd { | 443 | export function resolveCodeAction(ctx: Ctx): Cmd { |
444 | const client = ctx.client; | 444 | const client = ctx.client; |
445 | return async () => { | 445 | return async (params: ra.ResolveCodeActionParams) => { |
446 | const item: lc.WorkspaceEdit = await client.sendRequest(ra.resolveCodeAction, null); | 446 | const item: lc.WorkspaceEdit = await client.sendRequest(ra.resolveCodeAction, params); |
447 | if (!item) { | 447 | if (!item) { |
448 | return; | 448 | return; |
449 | } | 449 | } |