2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/declFileForClassWithPrivateOverloadedFunction.ts ===
|
|
|
|
|
|
|
|
class C {
|
2015-04-13 23:01:57 +02:00
|
|
|
>C : C, Symbol(C, Decl(declFileForClassWithPrivateOverloadedFunction.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
private foo(x: number);
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : { (x: number): any; (x: string): any; }, Symbol(foo, Decl(declFileForClassWithPrivateOverloadedFunction.ts, 1, 9), Decl(declFileForClassWithPrivateOverloadedFunction.ts, 2, 27), Decl(declFileForClassWithPrivateOverloadedFunction.ts, 3, 27))
|
|
|
|
>x : number, Symbol(x, Decl(declFileForClassWithPrivateOverloadedFunction.ts, 2, 16))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
private foo(x: string);
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : { (x: number): any; (x: string): any; }, Symbol(foo, Decl(declFileForClassWithPrivateOverloadedFunction.ts, 1, 9), Decl(declFileForClassWithPrivateOverloadedFunction.ts, 2, 27), Decl(declFileForClassWithPrivateOverloadedFunction.ts, 3, 27))
|
|
|
|
>x : string, Symbol(x, Decl(declFileForClassWithPrivateOverloadedFunction.ts, 3, 16))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
private foo(x: any) { }
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : { (x: number): any; (x: string): any; }, Symbol(foo, Decl(declFileForClassWithPrivateOverloadedFunction.ts, 1, 9), Decl(declFileForClassWithPrivateOverloadedFunction.ts, 2, 27), Decl(declFileForClassWithPrivateOverloadedFunction.ts, 3, 27))
|
|
|
|
>x : any, Symbol(x, Decl(declFileForClassWithPrivateOverloadedFunction.ts, 4, 16))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|