diff --git a/docs/api/ipc-main.md b/docs/api/ipc-main.md index f6e24e9f63ce..a9afa409a0d7 100644 --- a/docs/api/ipc-main.md +++ b/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