redux-smart-creators
Version:
Smart creators for actions and reducers
7 lines (6 loc) • 336 B
TypeScript
import { ActionCreatorsBag, ExtendableAsyncActionCreator } from '../types/asyncCreator';
interface WithAsyncLoad {
<ActionType extends string, Steps extends string>(basicCreator: ActionCreatorsBag<ActionType, Steps>): ExtendableAsyncActionCreator<ActionType, Steps>;
}
export declare const withLoad: WithAsyncLoad;
export {};