diff --git a/frontend/Peer.ts b/frontend/Peer.ts index a1c0417..f58b9ed 100644 --- a/frontend/Peer.ts +++ b/frontend/Peer.ts @@ -9,7 +9,7 @@ interface IPeerOptions{ export default class Peer extends EventTarget { public mwse : MWSE; - public options! : IPeerOptions; + public options : IPeerOptions = {}; public socketId? : string; public selfSocket : boolean = false; public active : boolean = false;