mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Socket.io - added return type of SocketNamespace for authorization method
This commit is contained in:
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