mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Socket.io - added return type of SocketNamespace for authorization method
This commit is contained in:
1 parent
9dcfafacb5
commit
e7491baf9d
1 file changed
+1
-1
Vendored
+1
-1
@@ -47,7 +47,7 @@ interface SocketNamespace {
|
||||
send(data: any): any;
|
||||
emit(ev: any, ...data:any[]): Socket;
|
||||
socket(sid: any, readable: boolean): Socket;
|
||||
authorization(fn: Function);
|
||||
authorization(fn: Function): SocketNamespace;
|
||||
}
|
||||
|
||||
interface SocketManager {
|
||||
|
||||
Reference in new issue
Block a user