Fixed absolute path issue in flow
This commit is contained in:
parent
15539aa616
commit
1fb55c4a93
2 changed files with 4 additions and 2 deletions
|
@ -10,5 +10,6 @@
|
|||
[options]
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
|
||||
module.name_mapper='^constants\(.*\)$' -> '<PROJECT_ROOT>/js/constants\1'
|
||||
|
||||
[strict]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// @flow
|
||||
|
||||
import * as types from "../../constants/action_types";
|
||||
import * as modalTypes from "../../constants/modal_types";
|
||||
import * as types from "constants/action_types";
|
||||
import * as modalTypes from "constants/modal_types";
|
||||
|
||||
// $FlowIssue: Flow cannot find election
|
||||
const { remote } = require("electron");
|
||||
|
@ -48,6 +48,7 @@ const defaultState: AppState = {
|
|||
hasSignature: false,
|
||||
badgeNumber: 0,
|
||||
volume: Number(sessionStorage.getItem("volume")) || 1,
|
||||
|
||||
downloadProgress: undefined,
|
||||
upgradeDownloading: undefined,
|
||||
upgradeDownloadComplete: undefined,
|
||||
|
|
Loading…
Reference in a new issue