mirror of
https://github.com/MercuryWorkshop/bare-mux.git
synced 2025-05-14 14:50:03 -04:00
fix wrong type (#4)
This commit is contained in:
parent
9f71bc0bfb
commit
e82c0f0d08
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue