mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Declare Socket.conn as any
SocketIO.Socket.conn is an EngineIO.Socket, not a SocketIO.Socket so use any rather declaring as the wrong type.
This commit is contained in:
1 parent
c594427c40
commit
b66b42f5d4
1 file changed
+1
-1
Vendored
+1
-1
@@ -55,7 +55,7 @@ declare module SocketIO {
|
||||
interface Socket {
|
||||
rooms: string[];
|
||||
client: Client;
|
||||
conn: Socket;
|
||||
conn: any;
|
||||
request: any;
|
||||
id: string;
|
||||
emit(name: string, ...args: any[]): Socket;
|
||||
|
||||
Reference in new issue
Block a user