applying changes from upstream commits 20e3acf7a6 and 561e919a2e which broke the yarn build (#1)

This commit is contained in:
squatica
2024-05-27 16:11:57 +02:00
committed by GitHub
parent c4d5da3bf5
commit 8f410897a4
4 changed files with 12 additions and 10 deletions

View File

@ -23,7 +23,7 @@ import type { Socket } from "socket.io-client";
class Portal {
collab: TCollabClass;
socket: SocketIOClient.Socket | null = null;
socket: Socket | null = null;
socketInitialized: boolean = false; // we don't want the socket to emit any updates until it is fully initialized
roomId: string | null = null;
roomKey: string | null = null;
@ -33,7 +33,7 @@ class Portal {
this.collab = collab;
}
open(socket: SocketIOClient.Socket, id: string, key: string) {
open(socket: Socket, id: string, key: string) {
this.socket = socket;
this.roomId = id;
this.roomKey = key;