UNPKG

redux-smart-creators

Version:
9 lines (8 loc) 360 B
import { ExtendableBasicActionCreator, InjectPayload } from '../types/creator'; interface WithLoad { <ActionType extends string>(basicCreator: Omit<ExtendableBasicActionCreator<ActionType>, 'load'> & { load?: InjectPayload<ActionType>; }): ExtendableBasicActionCreator<ActionType>; } export declare const withLoad: WithLoad; export {};