updux/dist/buildActions/index.d.ts

9 lines
432 B
TypeScript
Raw Normal View History

2019-10-24 15:52:36 +00:00
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