3ffc5c68a0079ccdbea1925ec67fe592aa4b1d9c1b166fab416b8c022af79d09a82feba1edfdf0016d6ddbebc01ffd5e6acfee8037052cfb0a38adf4b96b3c 448 B

12345678910111213
  1. declare namespace getAsyncFunction {
  2. type AsyncFunction<T = unknown> = (...args: any[]) => Promise<T>;
  3. interface AsyncFunctionConstructor extends FunctionConstructor {
  4. new <T>(...args: string[]): AsyncFunction<T>;
  5. <T>(...args: string[]): AsyncFunction<T>;
  6. readonly prototype: AsyncFunction;
  7. }
  8. }
  9. declare function getAsyncFunction(): getAsyncFunction.AsyncFunctionConstructor | false;
  10. export = getAsyncFunction;