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

2.0.3 • Public • Published

Installation

npm install --save @types/make-generator-function

Summary

This package contains type definitions for make-generator-function (https://github.com/ljharb/make-generator-function#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/make-generator-function.

index.d.ts

type GeneratorFunction<T = unknown, TReturn = any, TNext = unknown> = (
    ...args: unknown[]
) => Generator<T, TReturn, TNext>;

declare function makeGeneratorFunction(): readonly GeneratorFunction[];

export = makeGeneratorFunction;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Jordan Harband.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/make-generator-function

Weekly Downloads

1,302

Version

2.0.3

License

MIT

Unpacked Size

3.13 kB

Total Files

5

Last publish

Collaborators

  • types