2311061106/frontend/node_modules/async-function/index.d.ts
23175 b8b09fd9d4
Some checks failed
autograde-final-vibevault / check-trigger (push) Successful in 13s
autograde-final-vibevault / grade (push) Failing after 55s
完成作业
2025-12-14 16:02:40 +08:00

13 lines
448 B
TypeScript

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;