diff --git a/denops.ts b/denops.ts index bf4c28b..ca83dd8 100644 --- a/denops.ts +++ b/denops.ts @@ -57,6 +57,6 @@ export class DenopsImpl implements Denops { } dispatch(name: string, fn: string, ...args: unknown[]): Promise { - return this.#client.call("invoke", "dispatch", [name, fn, args]); + return this.#client.call("invoke", "dispatch", [name, fn, ...args]); } }