UNPKG

typedux

Version:

Slightly adjusted Redux (awesome by default) for TS

9 lines (8 loc) 242 B
export { default as Bluebird } from 'bluebird'; /** * Wrap action function so compiler allows it * * @param fn * @constructor */ export declare function Promised<T, Args extends any[]>(fn: (...args: Args) => T | Promise<T>): Promise<T>;