Type alias Reducer<T>

Reducer<T>: ((context: ReducerContext<T>) => T | undefined)

Type Parameters

  • T

Type declaration

    • (context: ReducerContext<T>): T | undefined
    • Reducer will use children's data to yield the parent's data.

      Parameters

      Returns T | undefined

Generated using TypeDoc