TypedReducer<State, Action> constructor
TypedReducer<State, Action> (
- State reducer(
- State state,
- Action action
Creates a reducer that will only be executed if the dispatched action
matches the Action
type.
Implementation
TypedReducer(this.reducer);