@types/make-async-function
Version:
TypeScript definitions for make-async-function
30 lines (21 loc) • 960 B
Markdown
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/make-async-function/index.d.ts)
````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](https://npmjs.com/package/@types/events)
# Credits
These definitions were written by [Jordan Harband](https://github.com/ljharb).