mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-24 11:29:30 +08:00
Merge pull request #6105 from jacobj/master
Add optional string parameter to removeAllListeners
This commit is contained in:
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user