Skip to main content

Built and signed on GitHub Actions

🧰 Utility types

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
4 months ago (3.1.2)
interface GeneratorFunctionConstructor

Generator function constructor interface.

Call Signatures

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

Signature.

Properties

readonly
prototype: <
T = unknown,
TReturn = any,
TNext = unknown,
>
(...args: unknown[]) => Generator<T, TReturn, TNext>

Prototype.

Add Package

deno add jsr:@libs/typing

Import symbol

import { type GeneratorFunctionConstructor } from "@libs/typing/func";

---- OR ----

Import directly with a jsr specifier

import { type GeneratorFunctionConstructor } from "jsr:@libs/typing/func";

Add Package

npx jsr add @libs/typing

Import symbol

import { type GeneratorFunctionConstructor } from "@libs/typing/func";

Add Package

yarn dlx jsr add @libs/typing

Import symbol

import { type GeneratorFunctionConstructor } from "@libs/typing/func";

Add Package

pnpm dlx jsr add @libs/typing

Import symbol

import { type GeneratorFunctionConstructor } from "@libs/typing/func";

Add Package

bunx jsr add @libs/typing

Import symbol

import { type GeneratorFunctionConstructor } from "@libs/typing/func";