mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-13 14:20:01 -04:00
fixup ts errors
This commit is contained in:
parent
8babd1896e
commit
b30172b4b0
1 changed files with 2 additions and 3 deletions
|
@ -21,7 +21,6 @@
|
||||||
|
|
||||||
let transport: Transport;
|
let transport: Transport;
|
||||||
|
|
||||||
let wstransport: DevWsTransport | undefined;
|
|
||||||
let rtctransport: RTCTransport | undefined;
|
let rtctransport: RTCTransport | undefined;
|
||||||
|
|
||||||
let email = "test@test.com";
|
let email = "test@test.com";
|
||||||
|
@ -123,7 +122,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
async function connectDevWS() {
|
async function connectDevWS() {
|
||||||
wstransport = transport = new DevWsTransport(onTransportOpen, () =>
|
transport = new DevWsTransport(onTransportOpen, () =>
|
||||||
console.log("onclose")
|
console.log("onclose")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -143,7 +142,7 @@
|
||||||
new Request(url),
|
new Request(url),
|
||||||
"_self",
|
"_self",
|
||||||
proxyIframe.contentWindow! as unknown as Win,
|
proxyIframe.contentWindow! as unknown as Win,
|
||||||
bare,
|
bare as any,
|
||||||
"replace"
|
"replace"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue