Browse Source

Docs: Remove optional parameter for removeAllListeners.

Fixes #9277
Rajat 8 years ago
parent
commit
ec6eb74ccc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/api/ipc-main.md

+ 2 - 2
docs/api/ipc-main.md

@@ -78,9 +78,9 @@ Removes the specified `listener` from the listener array for the specified
 
 ### `ipcMain.removeAllListeners([channel])`
 
-* `channel` String (optional)
+* `channel` String
 
-Removes all listeners, or those of the specified `channel`.
+Removes listeners of the specified `channel`.
 
 ## Event object