summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/src/main/jsonrpc-client.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/main/jsonrpc-client.ts b/gui/src/main/jsonrpc-client.ts
index 357d085a14..3b33f8f566 100644
--- a/gui/src/main/jsonrpc-client.ts
+++ b/gui/src/main/jsonrpc-client.ts
@@ -275,7 +275,7 @@ export default class JsonRpcClient<T> extends EventEmitter {
if (message.type === 'notification') {
this.onNotification(message as IJsonRpcNotification);
} else {
- this.onReply(message as (IJsonRpcErrorResponse | IJsonRpcSuccess));
+ this.onReply(message as IJsonRpcErrorResponse | IJsonRpcSuccess);
}
}