Type alias SingleReducer<ValueType, UpdateType>

SingleReducer<ValueType, UpdateType>: {
    default?: (() => ValueType);
    reducer: BinaryOperator<ValueType, UpdateType>;
} | {
    default?: (() => ValueType);
    value: BinaryOperator<ValueType, UpdateType>;
} | null

Type Parameters

Type declaration

Type declaration