TypeScript/tests/baselines/reference/declFileForClassWithPrivateOverloadedFunction.types
2015-04-15 16:44:20 -07:00

18 lines
376 B
Plaintext

=== tests/cases/compiler/declFileForClassWithPrivateOverloadedFunction.ts ===
class C {
>C : C
private foo(x: number);
>foo : { (x: number): any; (x: string): any; }
>x : number
private foo(x: string);
>foo : { (x: number): any; (x: string): any; }
>x : string
private foo(x: any) { }
>foo : { (x: number): any; (x: string): any; }
>x : any
}