20 lines
517 B
Plaintext
20 lines
517 B
Plaintext
=== tests/cases/conformance/es6/yieldExpressions/generatorOverloads4.ts ===
|
|
class C {
|
|
>C : C
|
|
|
|
f(s: string): Iterable<any>;
|
|
>f : { (s: string): Iterable<any>; (s: number): Iterable<any>; }
|
|
>s : string
|
|
>Iterable : Iterable<T>
|
|
|
|
f(s: number): Iterable<any>;
|
|
>f : { (s: string): Iterable<any>; (s: number): Iterable<any>; }
|
|
>s : number
|
|
>Iterable : Iterable<T>
|
|
|
|
*f(s: any): Iterable<any> { }
|
|
>f : { (s: string): Iterable<any>; (s: number): Iterable<any>; }
|
|
>s : any
|
|
>Iterable : Iterable<T>
|
|
}
|