UNPKG

@deejayy/api-caller

Version:

Simple Api Caller library for Angular

4 lines (3 loc) 310 B
import { Draft } from 'immer'; import { ActionCreator, ActionType, ReducerTypes, Creator } from '@ngrx/store'; export declare const produceOn: <C1 extends ActionCreator, S>(actionType: C1, callback: (draft: Draft<S>, action: ActionType<C1>) => void) => ReducerTypes<S, ActionCreator<string, Creator<C1[]>>[]>;