|
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 | |
|---|
| 1 | declare 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 |
|
|---|
| 11 | declare function getAsyncFunction(): getAsyncFunction.AsyncFunctionConstructor | false;
|
|---|
| 12 |
|
|---|
| 13 | export = getAsyncFunction; |
|---|
Note:
See
TracBrowser
for help on using the repository browser.