公共组件、公共样式集合
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 lines
448 B

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;