Type alias SimpleReducerOf<S>

SimpleReducerOf<S>: ((s: S) => S)

Type Parameters

  • S

    The state type

Type declaration

    • (s: S): S
    • A simple reducer function is such that receives a previous state, and returns a new state.

      Parameters

      • s: S

      Returns S

Generated using TypeDoc