UNPKG

jokio

Version:

core, awesome, simple functions

5 lines (4 loc) 292 B
export declare const STATE_UNDEFINED = "STATE_UNDEFINED"; declare const _default: <TState>(...functions: ComposeFunction<TState>[]) => ComposeFunction<TState>; export default _default; export declare type ComposeFunction<TState> = (state?: TState, context?: any) => Promise<TState> | TState;