From 2b73a813da3233a899a7e4a76ec9466bd08ed94c Mon Sep 17 00:00:00 2001 From: jackkav Date: Tue, 23 Aug 2022 10:39:51 +0200 Subject: [PATCH] fix type --- packages/insomnia/src/main/network/websocket.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/insomnia/src/main/network/websocket.ts b/packages/insomnia/src/main/network/websocket.ts index 0a3f68181ab8..a094284252ec 100644 --- a/packages/insomnia/src/main/network/websocket.ts +++ b/packages/insomnia/src/main/network/websocket.ts @@ -76,7 +76,7 @@ const sendQueueMap = new Map(); * When CTS is set, the events are sent immediately. * If CTS is cleared, the events are batched into the send queue. */ -function dispatchWebSocketEvent(target: Electron.WebContents, eventChannel: string, wsEvent: WebsocketEvent): void { +function dispatchWebSocketEvent(target: Electron.WebContents, eventChannel: string, wsEvent: WebSocketEvent): void { // If the CTS flag is already set, just send immediately. if (clearToSend) { target.send(eventChannel, [wsEvent]);