@types/make-async-function
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/make-async-function

Weekly Downloads

1,225

Version

1.0.2

License

MIT

Unpacked Size

3.22 kB

Total Files

5

Last publish

Collaborators

  • types