Merge pull request #28214 from ezra100/patch-1

Socket.io: Join function - added definition for passing multiple room names
This commit is contained in:
Daniel Rosenwasser
2018-08-22 13:07:49 -07:00
committed by GitHub
+1 -1
View File
@@ -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