Created
February 1, 2018 06:44
-
-
Save deecewan/1924ac53d68129148fb56cb53d1d841f to your computer and use it in GitHub Desktop.
Flow errors from redux-persist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error: node_modules/redux-persist/es/persistStore.js.flow:67 | |
67: persistor.purge = () => { | |
^^^^^ property `purge`. Property not found in | |
67: persistor.purge = () => { | |
^^^^^^^^^ object type | |
Error: node_modules/redux-persist/es/persistStore.js.flow:78 | |
78: persistor.flush = () => { | |
^^^^^ property `flush`. Property not found in | |
78: persistor.flush = () => { | |
^^^^^^^^^ object type | |
Error: node_modules/redux-persist/es/persistStore.js.flow:89 | |
89: persistor.pause = () => { | |
^^^^^ property `pause`. Property not found in | |
89: persistor.pause = () => { | |
^^^^^^^^^ object type | |
Error: node_modules/redux-persist/es/persistStore.js.flow:112 | |
112: if (boostrappedCb && persistor.getState().bootstrapped) { | |
^^^^^^^^^^^^ property `bootstrapped`. Property not found in possibly undefined value | |
112: if (boostrappedCb && persistor.getState().bootstrapped) { | |
^^^^^^^^^^^^^^^^^^^^ undefined | |
Error: node_modules/redux-persist/es/persistStore.js.flow:118 | |
118: persistor.persist = () => { | |
^^^^^^^ property `persist`. Property not found in | |
118: persistor.persist = () => { | |
^^^^^^^^^ object type | |
Error: node_modules/redux-persist/es/persistStore.js.flow:124 | |
124: return persistor | |
^^^^^^^^^ object type. This type is incompatible with the expected return type of | |
44: ): Persistor { | |
^^^^^^^^^ object type | |
Property `flush` is incompatible: | |
44: ): Persistor { | |
^^^^^^^^^ property `flush`. Property not found in | |
124: return persistor | |
^^^^^^^^^ object type | |
Error: node_modules/redux-persist/es/persistStore.js.flow:124 | |
124: return persistor | |
^^^^^^^^^ object type. This type is incompatible with the expected return type of | |
44: ): Persistor { | |
^^^^^^^^^ object type | |
Property `getState` is incompatible: | |
25: getState(): S; | |
^^^^^^^^^^^^^ function type. This type is incompatible with. See lib: flow-typed/npm/redux_v3.x.x.js:25 | |
80: +getState: () => PersistorState, | |
^^^^^^^^^^^^^^^^^^^^ function type. See: node_modules/redux-persist/es/types.js.flow:80 | |
This parameter is incompatible: | |
65: let persistor = createStore(persistorReducer, undefined, options.enhancer) | |
^^^^^^^^^ undefined. This type is incompatible with | |
80: +getState: () => PersistorState, | |
^^^^^^^^^^^^^^ object type. See: node_modules/redux-persist/es/types.js.flow:80 | |
Error: node_modules/redux-persist/es/persistStore.js.flow:124 | |
124: return persistor | |
^^^^^^^^^ object type. This type is incompatible with the expected return type of | |
44: ): Persistor { | |
^^^^^^^^^ object type | |
Property `purge` is incompatible: | |
44: ): Persistor { | |
^^^^^^^^^ property `purge`. Property not found in | |
124: return persistor | |
^^^^^^^^^ object type | |
Error: node_modules/redux-persist/lib/persistStore.js.flow:67 | |
67: persistor.purge = () => { | |
^^^^^ property `purge`. Property not found in | |
67: persistor.purge = () => { | |
^^^^^^^^^ object type | |
Error: node_modules/redux-persist/lib/persistStore.js.flow:78 | |
78: persistor.flush = () => { | |
^^^^^ property `flush`. Property not found in | |
78: persistor.flush = () => { | |
^^^^^^^^^ object type | |
Error: node_modules/redux-persist/lib/persistStore.js.flow:89 | |
89: persistor.pause = () => { | |
^^^^^ property `pause`. Property not found in | |
89: persistor.pause = () => { | |
^^^^^^^^^ object type | |
Error: node_modules/redux-persist/lib/persistStore.js.flow:112 | |
112: if (boostrappedCb && persistor.getState().bootstrapped) { | |
^^^^^^^^^^^^ property `bootstrapped`. Property not found in possibly undefined value | |
112: if (boostrappedCb && persistor.getState().bootstrapped) { | |
^^^^^^^^^^^^^^^^^^^^ undefined | |
Error: node_modules/redux-persist/lib/persistStore.js.flow:118 | |
118: persistor.persist = () => { | |
^^^^^^^ property `persist`. Property not found in | |
118: persistor.persist = () => { | |
^^^^^^^^^ object type | |
Error: node_modules/redux-persist/lib/persistStore.js.flow:124 | |
124: return persistor | |
^^^^^^^^^ object type. This type is incompatible with the expected return type of | |
44: ): Persistor { | |
^^^^^^^^^ object type | |
Property `flush` is incompatible: | |
44: ): Persistor { | |
^^^^^^^^^ property `flush`. Property not found in | |
124: return persistor | |
^^^^^^^^^ object type | |
Error: node_modules/redux-persist/lib/persistStore.js.flow:124 | |
124: return persistor | |
^^^^^^^^^ object type. This type is incompatible with the expected return type of | |
44: ): Persistor { | |
^^^^^^^^^ object type | |
Property `getState` is incompatible: | |
25: getState(): S; | |
^^^^^^^^^^^^^ function type. This type is incompatible with. See lib: flow-typed/npm/redux_v3.x.x.js:25 | |
80: +getState: () => PersistorState, | |
^^^^^^^^^^^^^^^^^^^^ function type. See: node_modules/redux-persist/lib/types.js.flow:80 | |
This parameter is incompatible: | |
65: let persistor = createStore(persistorReducer, undefined, options.enhancer) | |
^^^^^^^^^ undefined. This type is incompatible with | |
80: +getState: () => PersistorState, | |
^^^^^^^^^^^^^^ object type. See: node_modules/redux-persist/lib/types.js.flow:80 | |
Error: node_modules/redux-persist/lib/persistStore.js.flow:124 | |
124: return persistor | |
^^^^^^^^^ object type. This type is incompatible with the expected return type of | |
44: ): Persistor { | |
^^^^^^^^^ object type | |
Property `purge` is incompatible: | |
44: ): Persistor { | |
^^^^^^^^^ property `purge`. Property not found in | |
124: return persistor | |
^^^^^^^^^ object type |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment