-
-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
Description
Hello,
I am using redux-immutable with TypeScript and found this issue.
The combineReducer (provided by redux-immutable) returns a plain object instead of Immutable.Collection.
Such typing force me to do state.sidebar instead of state.get('sidebar') in mapStateToProps.
const mapStateToProps = (state: StateType<typeof rootReducer>) => ({
sidebar: state.get('sidebar'), // <- this is correct example of usage
})dyllandry, lcoder, federicobadini, ShirleyYoung0926, davidqhr and 3 more

