mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-19 11:40:24 +08:00
socket.io: SocketIO.Namespace has an "in" method
This commit is contained in:
1 parent
a61199a468
commit
fcc48530e3
1 file changed
+1
Vendored
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user