File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export interface SocketOptions {
15
15
/**
16
16
* the authentication payload sent when connecting to the Namespace
17
17
*/
18
- auth : object | ( ( cb : ( data : object ) => void ) => void ) ;
18
+ auth : { [ key : string ] : any } | ( ( cb : ( data : object ) => void ) => void ) ;
19
19
}
20
20
21
21
/**
@@ -53,11 +53,11 @@ export class Socket<
53
53
public connected : boolean ;
54
54
public disconnected : boolean ;
55
55
56
+ public auth : { [ key : string ] : any } | ( ( cb : ( data : object ) => void ) => void ) ;
56
57
public receiveBuffer : Array < ReadonlyArray < any > > = [ ] ;
57
58
public sendBuffer : Array < Packet > = [ ] ;
58
59
59
60
private readonly nsp : string ;
60
- private readonly auth : object | ( ( cb : ( data : object ) => void ) => void ) ;
61
61
62
62
private ids : number = 0 ;
63
63
private acks : object = { } ;
You can’t perform that action at this time.
0 commit comments