ActionReducer<State, Action extends StoreAction> typedef
ActionReducer<State, Action extends StoreAction> =
State Function(State state, Action action)
A Reducer function that accepts a StoreAction of a specific type.
Implementation
typedef ActionReducer<State, Action extends StoreAction> = State Function(
State state,
Action action,
);