From c8474bc72e556b5d1e77506af61211e0cf33fb01 Mon Sep 17 00:00:00 2001 From: steveluscher Date: Mon, 3 Jun 2024 17:38:19 +0000 Subject: [PATCH] Run Prettier --- packages/library-legacy/src/rpc-websocket.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/library-legacy/src/rpc-websocket.ts b/packages/library-legacy/src/rpc-websocket.ts index 5426d9e1b306..114c2dd725a2 100644 --- a/packages/library-legacy/src/rpc-websocket.ts +++ b/packages/library-legacy/src/rpc-websocket.ts @@ -32,7 +32,9 @@ export default class RpcWebSocketClient extends RpcWebSocketCommonClient { ...options, }); if ('socket' in rpc) { - this.underlyingSocket = rpc.socket as ReturnType; + this.underlyingSocket = rpc.socket as ReturnType< + typeof WebSocketBrowserImpl + >; } else { this.underlyingSocket = rpc as NodeWebSocketType; }