source: frontend/node_modules/async-function/index.d.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 448 bytes
Line 
1declare namespace getAsyncFunction {
2 type AsyncFunction<T = unknown> = (...args: any[]) => Promise<T>;
3
4 interface AsyncFunctionConstructor extends FunctionConstructor {
5 new <T>(...args: string[]): AsyncFunction<T>;
6 <T>(...args: string[]): AsyncFunction<T>;
7 readonly prototype: AsyncFunction;
8 }
9}
10
11declare function getAsyncFunction(): getAsyncFunction.AsyncFunctionConstructor | false;
12
13export = getAsyncFunction;
Note: See TracBrowser for help on using the repository browser.