redux-smart-creators
Version:
Smart creators for actions and reducers
10 lines (9 loc) • 503 B
TypeScript
import { CreatorsPack } from '../types/creatorsPack';
import { DefaultAsyncStep } from '../types/common';
interface GetCreatorsPack {
<PackLabel extends string>(packLabel: PackLabel): CreatorsPack<PackLabel, DefaultAsyncStep>;
<Steps extends string>(steps: Steps[]): CreatorsPack<null, Steps>;
<PackLabel extends string, Steps extends string>(packLabel: PackLabel, steps: Steps[]): CreatorsPack<PackLabel, Steps>;
}
export declare const getCreatorsPack: GetCreatorsPack;
export {};