Interface GeneratorFunctionConstructor
interface GeneratorFunctionConstructor {
new GeneratorFunctionConstructornew (...args: string[]): GeneratorFunction;
length: number;
name: string;
prototype: GeneratorFunction;
(...args: string[]): GeneratorFunction;
}
new GeneratorFunctionConstructornew (...args: string[]): GeneratorFunction;
length: number;
name: string;
prototype: GeneratorFunction;
(...args: string[]): GeneratorFunction;
}
- Generator
Function (...args): GeneratorFunctionConstructor Parameters
Rest
...args: string[]A list of arguments the function accepts.
Returns GeneratorFunction
Index
Constructors
Properties
Constructors
constructor
- new
Generator (...args): GeneratorFunctionFunction Constructor Creates a new Generator function.
Parameters
Rest
...args: string[]A list of arguments the function accepts.
Returns GeneratorFunction
Creates a new Generator function.