updux/dist/buildActions/index.d.ts
2019-10-24 11:52:36 -04:00

9 lines
432 B
TypeScript

import { Action, ActionPayloadGenerator, Dictionary } from '../types';
interface ActionCreator {
(...args: any[]): Action;
_genericAction?: boolean;
}
declare type ActionPair = [string, ActionCreator];
declare function buildActions(generators?: Dictionary<ActionPayloadGenerator>, actionNames?: string[], subActions?: ActionPair[]): Dictionary<ActionCreator>;
export default buildActions;
//# sourceMappingURL=index.d.ts.map