UNPKG

@e-group/utils

Version:

eGroup team utils that share across projects.

12 lines (11 loc) 507 B
/** * create fetch reducer by config, * First arg is the config * Second arg can replace the initialState you need * Third arg can replace the action function you need * @param {Object} config * @param {Object|null} cusInitialState * @param {Object|null} cusActions */ export default function createFetchReducer(config: any, cusInitialState: any | null, cusActions: any | null): import("redux-actions").ReduxCompatibleReducer<Map<any, any>, Map<any, any>>; import { Map } from "@e-group/immutable";