From 4b45695df5c5c334e214767c6e43de592902b48b Mon Sep 17 00:00:00 2001 From: Shunsuke Shida Date: Thu, 30 Jan 2014 04:13:47 +0900 Subject: [PATCH] socket.io: Added missing API --- 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 d1b4a4863..8d137d7af 100644 --- a/socket.io/socket.io.d.ts +++ b/socket.io/socket.io.d.ts @@ -23,7 +23,7 @@ interface Socket { in(room: string): Socket; to(room: string): Socket; join(name: string, fn: Function): Socket; - unjoin(name: string, fn: Function): Socket; + leave(name: string, fn: Function): Socket; set(key: string, value: any, fn: Function): Socket; get(key: string, fn: Function): Socket; has(key: string, fn: Function): Socket;