Browse Source

Update ipc-renderer.md

Samuel Attard 7 years ago
parent
commit
e58ba1dc8e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/api/ipc-renderer.md

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

@@ -40,9 +40,9 @@ only the next time a message is sent to `channel`, after which it is removed.
 Removes the specified `listener` from the listener array for the specified
 `channel`.
 
-### `ipcRenderer.removeAllListeners([channel])`
+### `ipcRenderer.removeAllListeners(channel)`
 
-* `channel` String (optional)
+* `channel` String
 
 Removes all listeners, or those of the specified `channel`.