summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-06-11 12:48:49 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-06-12 13:28:00 +0200
commitef92d9ee064bd2e20fbc4ec8bab9c9ed3bf7f485 (patch)
treefe585bed437917b2563f66b70dbeb44dee0c50e6
parent615b814270229b12e524ed82d40683dda0035e7c (diff)
downloadmullvadvpn-ef92d9ee064bd2e20fbc4ec8bab9c9ed3bf7f485.tar.xz
mullvadvpn-ef92d9ee064bd2e20fbc4ec8bab9c9ed3bf7f485.zip
Add missing send() annotation for WebContents
-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