Open ssorallen opened 6 years ago
Seeing this issue too
is there any way to unseal an object? We could I think spread it, but that seems an unnecessary cost just for the sake of appeasing flow.
also I am confused because I have redux-persist in use in a react-native project using flow 0.57.3 but am not seeing this error. Is there some confounding factor here that I am not aware of?
@rt2zz Sorry, I'm no longer working on the project where I saw this error.
If no one has a way to easily reproduce this, I'm fine closing it.
Flow is complaining about "persistStore.js" because it adds properties to the return value of react-redux's
createStore
. When Objects are created with properties in Flow, they are treated as sealed objects; adding properties like this is not allowed.flow-bin: 0.57.3 redux-persist: 5.4.0