@types/make-async-generator-function
Version:
TypeScript definitions for make-async-generator-function
27 lines (19 loc) • 964 B
Markdown
# Installation
> `npm install --save @types/make-async-generator-function`
# Summary
This package contains type definitions for make-async-generator-function (https://github.com/ljharb/make-async-generator-function#readme).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/make-async-generator-function.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/make-async-generator-function/index.d.ts)
````ts
type AsyncGeneratorFunction<T = unknown, TReturn = any, TNext = unknown> = (
...args: unknown[]
) => AsyncGenerator<T, TReturn, TNext>;
declare function makeAsyncGeneratorFunction(): readonly AsyncGeneratorFunction[];
export = makeAsyncGeneratorFunction;
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT
* Dependencies: none
# Credits
These definitions were written by [Jordan Harband](https://github.com/ljharb).