TypeScript/tests/baselines/reference/generatorOverloads5.types
2015-05-04 16:00:25 -07:00

20 lines
552 B
Plaintext

=== tests/cases/conformance/es6/yieldExpressions/generatorOverloads5.ts ===
module M {
>M : typeof M
function f(s: string): Iterable<any>;
>f : { (s: string): Iterable<any>; (s: number): Iterable<any>; }
>s : string
>Iterable : Iterable<T>
function f(s: number): Iterable<any>;
>f : { (s: string): Iterable<any>; (s: number): Iterable<any>; }
>s : number
>Iterable : Iterable<T>
function* f(s: any): Iterable<any> { }
>f : { (s: string): Iterable<any>; (s: number): Iterable<any>; }
>s : any
>Iterable : Iterable<T>
}