Initial Save
This commit is contained in:
13
node_modules/async-function/index.d.ts
generated
vendored
Normal file
13
node_modules/async-function/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user