From e58ba1dc8e280271b13ad821c66e40844f7f469d Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Tue, 29 Aug 2017 16:12:55 +1000 Subject: [PATCH] Update ipc-renderer.md --- docs/api/ipc-renderer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/ipc-renderer.md b/docs/api/ipc-renderer.md index 9a98f14aad25..e23f3734e5e8 100644 --- a/docs/api/ipc-renderer.md +++ b/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`.