updux/dist/buildMiddleware/index.d.ts

5 lines
395 B
TypeScript
Raw Normal View History

2019-10-24 15:52:36 +00:00
import { Middleware } from 'redux';
import { Dictionary, ActionCreator, UpduxDispatch } from '../types';
declare function buildMiddleware<S = any>(effects?: Dictionary<Middleware<{}, S, UpduxDispatch>>, actions?: Dictionary<ActionCreator>, subMiddlewares?: Middleware<{}, S, UpduxDispatch>[]): Middleware<{}, S, UpduxDispatch>;
export default buildMiddleware;
//# sourceMappingURL=index.d.ts.map