fix wrong type (#4)

This commit is contained in:
tgt 2024-07-12 21:06:32 -04:00 committed by GitHub
parent 9f71bc0bfb
commit e82c0f0d08
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);