Docs: Remove optional parameter for removeAllListeners.

Fixes #9277
This commit is contained in:
Rajat 2017-05-25 00:31:58 +05:30
parent 1257dee0b5
commit ec6eb74ccc

View file

@ -78,9 +78,9 @@ Removes the specified `listener` from the listener array for the specified
### `ipcMain.removeAllListeners([channel])` ### `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 ## Event object