mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Merge pull request #28214 from ezra100/patch-1
Socket.io: Join function - added definition for passing multiple room names
This commit is contained in:
Vendored
+1
-1
@@ -616,7 +616,7 @@ declare namespace SocketIO {
|
||||
* take an optional parameter, err, of a possible error
|
||||
* @return This Socket
|
||||
*/
|
||||
join( name: string, fn?: ( err?: any ) => void ): Socket;
|
||||
join( name: string|string[], fn?: ( err?: any ) => void ): Socket;
|
||||
|
||||
/**
|
||||
* Leaves a room
|
||||
|
||||
Reference in New Issue
Block a user