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