9 lines
212 B
TypeScript
9 lines
212 B
TypeScript
|
//// [generatorOverloads2.ts]
|
||
|
declare module M {
|
||
|
function* f(s: string): Iterable<any>;
|
||
|
function* f(s: number): Iterable<any>;
|
||
|
function* f(s: any): Iterable<any>;
|
||
|
}
|
||
|
|
||
|
//// [generatorOverloads2.js]
|