TypeScript/tests/baselines/reference/declFileForClassWithPrivateOverloadedFunction.types

18 lines
376 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/declFileForClassWithPrivateOverloadedFunction.ts ===
class C {
>C : C
2014-08-15 23:33:16 +02:00
private foo(x: number);
>foo : { (x: number): any; (x: string): any; }
>x : number
2014-08-15 23:33:16 +02:00
private foo(x: string);
>foo : { (x: number): any; (x: string): any; }
>x : string
2014-08-15 23:33:16 +02:00
private foo(x: any) { }
>foo : { (x: number): any; (x: string): any; }
>x : any
2014-08-15 23:33:16 +02:00
}