Type alias Reducer<S, T>

Reducer<S, T>: ((state: S, action: T) => S)

Type Parameters

  • S

  • T

Type declaration

    • (state: S, action: T): S
    • Parameters

      • state: S
      • action: T

      Returns S

Generated using TypeDoc