Installation
npm install --save @types/make-async-function
Summary
This package contains type definitions for make-async-function (https://github.com/ljharb/make-async-function#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/make-async-function.
index.d.ts
type AsyncFunction = (...args: unknown[]) => Promise<unknown>;
interface MakeAsyncFunction {
(): AsyncFunction | undefined;
list: () => readonly AsyncFunction[];
}
declare const makeAsyncFunction: MakeAsyncFunction;
export = makeAsyncFunction;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/events
Credits
These definitions were written by Jordan Harband.