UNPKG

dropkiq

Version:

Liquid Expressions Simplified

9 lines (8 loc) 352 B
declare type resolver = (x?: any) => Thenable; interface Thenable { then(resolve: resolver, reject?: resolver): Thenable; catch(reject: resolver): Thenable; } export declare function toThenable(val: IterableIterator<any> | Thenable | any): Thenable; export declare function toValue(val: IterableIterator<any> | Thenable | any): any; export {};