UNPKG

339 BTypeScriptView Raw
1import { ActionCreator, TypeConstant } from '../type-helpers';
2/**
3 * @description create custom action-creator using constructor function with injected type argument
4 */
5export declare function createCustomAction<T extends TypeConstant, AC extends ActionCreator<T> = () => {
6 type: T;
7}>(type: T, createHandler?: (type: T) => AC): AC;
8
\No newline at end of file