diff --git a/ts/smartsocket.classes.socketconnection.ts b/ts/smartsocket.classes.socketconnection.ts index f85aa1f..a884bb0 100644 --- a/ts/smartsocket.classes.socketconnection.ts +++ b/ts/smartsocket.classes.socketconnection.ts @@ -51,12 +51,12 @@ export let allSocketConnections = new Objectmap(); * class SocketConnection represents a websocket connection */ export class SocketConnection { - alias: string; - side: TSocketConnectionSide; - authenticated: boolean = false; - role: SocketRole; - smartsocketHost: Smartsocket; - socket: any; // SocketIO.Socket | SocketIOClient.Socket + public alias: string; + public side: TSocketConnectionSide; + public authenticated: boolean = false; + public role: SocketRole; + public smartsocketHost: Smartsocket; + public socket: SocketIO.Socket | SocketIOClient.Socket; constructor(optionsArg: ISocketConnectionConstructorOptions) { this.alias = optionsArg.alias; this.authenticated = optionsArg.authenticated;