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 = [], protocols: string | string[] | undefined = [],
webSocketImpl?: WebSocketImpl, webSocketImpl?: WebSocketImpl,
requestHeaders?: BareHeaders, requestHeaders?: BareHeaders,
arrayBufferImpl?: typeof ArrayBuffer, arrayBufferImpl?: ArrayBuffer,
): WebSocket { ): WebSocket {
try { try {
remote = new URL(remote); remote = new URL(remote);