19 lines
552 B
Text
19 lines
552 B
Text
=== 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>
|
|
}
|