TypeScript/tests/baselines/reference/declFileForClassWithPrivateOverloadedFunction.types

17 lines
1.2 KiB
Text

=== tests/cases/compiler/declFileForClassWithPrivateOverloadedFunction.ts ===
class C {
>C : C, Symbol(C,Decl(declFileForClassWithPrivateOverloadedFunction.ts,0,0))
private foo(x: number);
>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))
private foo(x: string);
>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))
private foo(x: any) { }
>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))
}