devsite/node_modules/liquidjs/dist/util/async.d.ts
2024-07-07 18:49:38 -07:00

3 lines
190 B
TypeScript

export declare function toPromise<T>(val: Generator<unknown, T, unknown> | Promise<T> | T): Promise<T>;
export declare function toValueSync<T>(val: Generator<unknown, T, unknown> | T): T;