Preview: index.d.ts
Size: 448 B
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/async-function/index.d.ts
declare namespace getAsyncFunction {
type AsyncFunction<T = unknown> = (...args: any[]) => Promise<T>;
interface AsyncFunctionConstructor extends FunctionConstructor {
new <T>(...args: string[]): AsyncFunction<T>;
<T>(...args: string[]): AsyncFunction<T>;
readonly prototype: AsyncFunction;
}
}
declare function getAsyncFunction(): getAsyncFunction.AsyncFunctionConstructor | false;
export = getAsyncFunction;
Directory Contents
Dirs: 2 × Files: 13