mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-04 16:04:45 +08:00
socket.io: SocketIO.Namespace has an "in" method
This commit is contained in:
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