summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--flow-libs/electron.js.flow4
1 files changed, 3 insertions, 1 deletions
diff --git a/flow-libs/electron.js.flow b/flow-libs/electron.js.flow
index 9ff6242389..b0facb6c7e 100644
--- a/flow-libs/electron.js.flow
+++ b/flow-libs/electron.js.flow
@@ -122,7 +122,9 @@ declare module 'electron' {
declare class IpcMain extends EventEmitter {}
- declare class WebContents extends EventEmitter {}
+ declare class WebContents extends EventEmitter {
+ send(channel: string, ...args: Array<mixed>): void;
+ }
// http://electron.atom.io/docs/api/browser-window