From 513d25cf0349e174b36a086e636249a3369d2e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Tue, 13 Oct 2020 12:39:09 +0300 Subject: Fix resolveCodeAction request --- editors/code/src/commands.ts | 4 ++-- 1 file 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 { export function resolveCodeAction(ctx: Ctx): Cmd { const client = ctx.client; - return async () => { - const item: lc.WorkspaceEdit = await client.sendRequest(ra.resolveCodeAction, null); + return async (params: ra.ResolveCodeActionParams) => { + const item: lc.WorkspaceEdit = await client.sendRequest(ra.resolveCodeAction, params); if (!item) { return; } -- cgit v1.2.3