Skip to content

Commit e036e10

Browse files
committed
Tweaks
1 parent 73f5ea5 commit e036e10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

js-src/Connector.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class Connector extends BaseConnector {
2121
connect(): void {
2222
this.socket = new Websocket(this.options);
2323

24-
return null;
24+
return;
2525

2626
//
2727
// this.socket.on('reconnect', () => {

js-src/Websocket.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class Websocket {
1111

1212
websocket: WebSocket;
1313

14-
private listeners: { [channelName: string]: { [eventName: string]: Function } }
14+
private listeners: { [channelName: string]: { [eventName: string]: Function } } = {}
1515

1616
private internalListeners: { [eventName: string]: Function } = {};
1717

0 commit comments

Comments
 (0)