Interface GeneratorFunction
interface GeneratorFunction {
new GeneratorFunction(...args: any[]): Generator;
"[toStringTag]": string;
length: number;
name: string;
prototype: Generator;
(...args: any[]): Generator;
}
new GeneratorFunction(...args: any[]): Generator;
"[toStringTag]": string;
length: number;
name: string;
prototype: Generator;
(...args: any[]): Generator;
}
Creates a new Generator object.