From e7491baf9db166486d795523faf77e6627a09c0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Oborn=C3=ADk?= Date: Mon, 10 Mar 2014 12:15:15 +0100 Subject: [PATCH] Socket.io - added return type of SocketNamespace for authorization method --- socket.io/socket.io.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socket.io/socket.io.d.ts b/socket.io/socket.io.d.ts index 8d137d7af..3c85d7351 100644 --- a/socket.io/socket.io.d.ts +++ b/socket.io/socket.io.d.ts @@ -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 {