diff --git a/src/boot/store.js b/src/boot/store.js index 6adb6f55009..c1f538d2941 100644 --- a/src/boot/store.js +++ b/src/boot/store.js @@ -173,7 +173,7 @@ const migrations: {| [string]: (GlobalState) => GlobalState |} = { ...state, accounts: state.accounts.map(a => ({ ...a, - /* $FlowFixMe[prop-missing]: `a.realm` is a string until + /* $FlowIgnore[prop-missing]: `a.realm` is a string until migration 15 */ realm: a.realm.replace(/\/+$/, ''), })), @@ -211,7 +211,7 @@ const migrations: {| [string]: (GlobalState) => GlobalState |} = { ...state, accounts: state.accounts.map(a => ({ ...a, - /* $FlowFixMe[incompatible-call]: `a.realm` will be a string + /* $FlowIgnore[incompatible-call]: `a.realm` will be a string here */ realm: new URL(a.realm), })), diff --git a/src/redux-persist-migrate/index.js b/src/redux-persist-migrate/index.js index 96737c67b8f..25dcb183aed 100644 --- a/src/redux-persist-migrate/index.js +++ b/src/redux-persist-migrate/index.js @@ -75,9 +75,9 @@ export function createMigrationImpl( throw new Error('createMigration: bad arguments'); } if (action.type === REHYDRATE) { - // $FlowFixMe[prop-missing] - // $FlowFixMe[incompatible-exact] - /* $FlowFixMe[incompatible-type] + // $FlowIgnore[prop-missing] + // $FlowIgnore[incompatible-exact] + /* $FlowIgnore[incompatible-type] this really is a lie -- and kind of central to migration */ const incomingState: State = action.payload; const incomingVersion = parseInt(versionSelector(incomingState), 10);