fix wrong type

This commit is contained in:
tgt 2024-07-12 16:45:26 -04:00 committed by GitHub
parent 1ca0514fc2
commit 9485a1365a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);