diff --git a/src/renderer/.flowconfig b/src/renderer/.flowconfig index 8d8e22131..18e154135 100644 --- a/src/renderer/.flowconfig +++ b/src/renderer/.flowconfig @@ -12,5 +12,6 @@ flow-typed suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe suppress_comment=\\(.\\|\n\\)*\\$FlowIssue module.name_mapper='^constants\(.*\)$' -> '/js/constants\1' +module.name_mapper='^redux\(.*\)$' -> '/js/redux\1' [strict] diff --git a/src/renderer/flow-typed/electron.js b/src/renderer/flow-typed/electron.js new file mode 100644 index 000000000..4c575c618 --- /dev/null +++ b/src/renderer/flow-typed/electron.js @@ -0,0 +1,3 @@ +declare module 'electron' { + declare module.exports: any; +}