slightly edit types

This commit is contained in:
Toshit Chawda 2024-07-07 15:16:58 -07:00
parent fb8fe1d306
commit b4c7ac361b
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D

View file

@ -135,9 +135,9 @@ export class BareClient {
createWebSocket( createWebSocket(
remote: string | URL, remote: string | URL,
protocols: string | string[] | undefined = [], protocols: string | string[] | undefined = [],
webSocketImpl: WebSocketImpl, webSocketImpl?: WebSocketImpl,
requestHeaders: BareHeaders, requestHeaders?: BareHeaders,
arrayBufferImpl: typeof ArrayBuffer, arrayBufferImpl?: typeof ArrayBuffer,
): WebSocket { ): WebSocket {
try { try {
remote = new URL(remote); remote = new URL(remote);