mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Merge pull request #3547 from ericlu88/socket.io
Expose connected property and discount function.
This commit is contained in:
commit
11accbadc5
1 file changed
+2
Vendored
+2
@@ -67,6 +67,8 @@ declare module SocketIO {
|
||||
on(event: string, listener: Function): any;
|
||||
broadcast: Socket;
|
||||
volatile: Socket;
|
||||
connected: boolean;
|
||||
disconnect(close: boolean): Socket;
|
||||
}
|
||||
|
||||
interface Client {
|
||||
|
||||
Reference in new issue
Block a user