Type alias Reducer<S, A>

Reducer<S, A>: ((prevState, action) => S)

Type Parameters

  • S
  • A

Type declaration

    • (prevState, action): S
    • Parameters

      • prevState: S
      • action: A

      Returns S