From b66b42f5d4a7e8f1eba2e5a182d6930ba52f90c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elis=C3=A9e?= Date: Wed, 11 Mar 2015 19:59:40 +0100 Subject: [PATCH] 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. --- socket.io/socket.io.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socket.io/socket.io.d.ts b/socket.io/socket.io.d.ts index 677d4fcc2c..258b573d56 100644 --- a/socket.io/socket.io.d.ts +++ b/socket.io/socket.io.d.ts @@ -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;