Fix socket.io.d.ts: argument of send(), write()

oops
This commit is contained in:
Yuki KAN
2015-02-25 10:05:33 +09:00
parent aebd7dec12
commit 24991f9398
+2 -2
View File
@@ -63,8 +63,8 @@ declare module SocketIO {
leave(name: string, fn?: Function): Socket;
to(room: string): Socket;
in(room: string): Socket;
send(): Socket;
write(): Socket;
send(...args: any[]): Socket;
write(...args: any[]): Socket;
on(event: string, listener: Function): Socket;
once(event: string, listener: Function): Socket;