20 lines
552 B
Plaintext
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>
|
|
}
|