Merge pull request #6105 from jacobj/master

Add optional string parameter to removeAllListeners
This commit is contained in:
Masahiro Wakame committed 2015-10-06 22:34:25 +09:00
commit a1c4d52da7
1 file changed
+1 -1
+1 -1
View File
@@ -687,7 +687,7 @@ declare module SocketIO {
* Removes all event listeners on this object
* @return This Socket
*/
removeAllListeners(): Socket;
removeAllListeners( event?: string ): Socket;
/**
* Sets the maximum number of listeners this instance can have