From e82c0f0d0812b5e6a2d9eb4cc7e4c530435a0fa3 Mon Sep 17 00:00:00 2001 From: tgt Date: Fri, 12 Jul 2024 21:06:32 -0400 Subject: [PATCH] fix wrong type (#4) --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index e4006eb..7c24aaf 100644 --- a/src/client.ts +++ b/src/client.ts @@ -145,7 +145,7 @@ export class BareClient { protocols: string | string[] | undefined = [], webSocketImpl?: WebSocketImpl, requestHeaders?: BareHeaders, - arrayBufferImpl?: typeof ArrayBuffer, + arrayBufferImpl?: ArrayBuffer, ): WebSocket { try { remote = new URL(remote);