mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Fix socket.io.d.ts: argument of send(), write()
oops
This commit is contained in:
Vendored
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user