Skip to content

Commit

Permalink
Make flow pass on app/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
diracdeltas committed Apr 13, 2016
1 parent c227b6b commit f9f3363
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[ignore]
.*/node_modules/.*
.*/app/extensions/brave/gen/.*
.*/test/.*/*.json
.*/node_modules/fbjs/lib/.*
.*/build/Release/.*
.*/public/built/.*
.*/dist/.*
.*/win64-dist/.*

[libs]
decls
1 change: 1 addition & 0 deletions app/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @flow
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
Expand Down
7 changes: 7 additions & 0 deletions decls/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ declare class IpcRenderer {
sendToHost(msg: string, ...args: any): void;
}
declare var KeyEvent: any;
declare module electron {
declare var BrowserWindow: any;
declare var ipcMain: any;
declare var dialog: any;
declare var clipboard: any;
declare var app: any;
}

0 comments on commit f9f3363

Please sign in to comment.