1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
//// [tests/cases/conformance/es6/yieldExpressions/generatorOverloads5.ts] ////
=== generatorOverloads5.ts ===
module M {
>M : typeof M
function f(s: string): Iterable<any>;
>f : { (s: string): Iterable<any>; (s: number): Iterable<any>; }
>s : string
function f(s: number): Iterable<any>;
>f : { (s: string): Iterable<any>; (s: number): Iterable<any>; }
>s : number
function* f(s: any): Iterable<any> { }
>f : { (s: string): Iterable<any>; (s: number): Iterable<any>; }
>s : any
}
|