import { daffCartStoreCreditCartReducer } from '@daffodil/cart-store-credit/state'
function daffCartStoreCreditCartReducer<T extends DaffCartWithStoreCredit = DaffCartWithStoreCredit>(
state: DaffCartReducerState<any> = daffCartReducerInitialState
action: DaffCartStoreCreditActions<DaffCartWithStoreCredit>
): DaffCartReducerState<T>
Parameter | state: DaffCartReducerState |
---|---|
Default | daffCartReducerInitialState |
Description |
Parameter | action: DaffCartStoreCreditActions<DaffCartWithStoreCredit> |
---|---|
Description |