Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

socket.io: Added missing API

  • Loading branch information...
commit 4b45695df5c5c334e214767c6e43de592902b48b 1 parent 67777bb
@shidasan shidasan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  socket.io/socket.io.d.ts
View
2  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;
Please sign in to comment.
Something went wrong with that request. Please try again.