mirror of
https://github.com/MercuryWorkshop/bare-mux.git
synced 2025-05-15 07:10:00 -04:00
slightly edit types
This commit is contained in:
parent
fb8fe1d306
commit
b4c7ac361b
1 changed files with 3 additions and 3 deletions
|
@ -135,9 +135,9 @@ export class BareClient {
|
|||
createWebSocket(
|
||||
remote: string | URL,
|
||||
protocols: string | string[] | undefined = [],
|
||||
webSocketImpl: WebSocketImpl,
|
||||
requestHeaders: BareHeaders,
|
||||
arrayBufferImpl: typeof ArrayBuffer,
|
||||
webSocketImpl?: WebSocketImpl,
|
||||
requestHeaders?: BareHeaders,
|
||||
arrayBufferImpl?: typeof ArrayBuffer,
|
||||
): WebSocket {
|
||||
try {
|
||||
remote = new URL(remote);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue