UNPKG

redux-tiles

Version:

Library to create and easily compose redux pieces together in less verbose manner

8 lines (7 loc) 440 B
import { IAsyncActionTypes, ISyncActionTypes } from './types'; export declare type FnResult = (params: any, additionalParams?: any) => any; export declare function asyncAction({START, SUCCESS, FAILURE, fn, type, caching, nesting, selectors}: IAsyncActionTypes): FnResult; export declare function createResetAction({type}: { type: string; }): Function; export declare function syncAction({SET, fn, nesting}: ISyncActionTypes): FnResult;