From fcc48530e36f079533a702a9ed68862913dfab3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elis=C3=A9e?= Date: Wed, 29 Apr 2015 23:00:06 +0200 Subject: [PATCH] socket.io: SocketIO.Namespace has an "in" method --- socket.io/socket.io.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/socket.io/socket.io.d.ts b/socket.io/socket.io.d.ts index 258b573d5..ba7a5ba70 100644 --- a/socket.io/socket.io.d.ts +++ b/socket.io/socket.io.d.ts @@ -46,6 +46,7 @@ declare module SocketIO { name: string; connected: { [id: string]: Socket }; use(fn: Function): Namespace; + in(room: string): Namespace; on(event: 'connection', listener: (socket: Socket) => void): Namespace; on(event: 'connect', listener: (socket: Socket) => void): Namespace;