Skip to main content

Type Alias: RawReducerWithoutFinish<Value, Acc, This>

RawReducerWithoutFinish<Value, Acc, This>: object

A reducer that reduces by creating an initial accumulator using RawReducerWithoutFinish.create and then adding values to the accumulator values using RawReducerWithoutFinish.add.

Type Parameters

Value = unknown

Acc = Value

This = unknown

Type declaration

add()

add: (this, acc, value) => Acc

Parameters

this: This

acc: Acc

value: Value

Returns

Acc

create()

create: (this) => Acc

Parameters

this: This

Returns

Acc

Defined in

reducers.d.ts:60