TypedReducer<State, Action> constructor

TypedReducer<State, Action>(
  1. State reducer(
    1. State state,
    2. Action action
    )
)

Creates a reducer that will only be executed if the dispatched action matches the Action type.

Implementation

TypedReducer(this.reducer);