Socket.io - added return type of SocketNamespace for authorization method

This commit is contained in:
Václav Oborník
2014-03-10 12:15:15 +01:00
parent 9dcfafacb5
commit e7491baf9d
+1 -1
View File
@@ -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 {