diff --git a/socket.io/socket.io.d.ts b/socket.io/socket.io.d.ts index a5b13044fe..a34a78b8c4 100644 --- a/socket.io/socket.io.d.ts +++ b/socket.io/socket.io.d.ts @@ -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