diff --git a/packages/core/source/elements/connection.ts b/packages/core/source/elements/connection.ts index af1d617b..1ccf5608 100644 --- a/packages/core/source/elements/connection.ts +++ b/packages/core/source/elements/connection.ts @@ -23,8 +23,8 @@ export class BatchingRemoteConnection { this.#batch = batch; } - call(id: string, method: string, ...args: readonly unknown[]) { - this.#connection.call(id, method, ...args); + call(id: string, method: string, ...args: readonly unknown[]): unknown { + return this.#connection.call(id, method, ...args); } mutate(records: any[]) {