Variable GeneratorBaseConst

GeneratorBase: (new () => Generator<unknown, any, unknown>) = ...

A pseudo-constructor for the abstract ancestor type of all generators, useful for testing whether something is instanceof Generator.

Type declaration

    • new (): Generator<unknown, any, unknown>
    • Returns Generator<unknown, any, unknown>