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