mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
1.2 KiB
Plaintext
19 lines
1.2 KiB
Plaintext
//// [tests/cases/compiler/declFileForClassWithPrivateOverloadedFunction.ts] ////
|
|
|
|
=== declFileForClassWithPrivateOverloadedFunction.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(declFileForClassWithPrivateOverloadedFunction.ts, 0, 0))
|
|
|
|
private foo(x: number);
|
|
>foo : Symbol(C.foo, Decl(declFileForClassWithPrivateOverloadedFunction.ts, 0, 9), Decl(declFileForClassWithPrivateOverloadedFunction.ts, 1, 27), Decl(declFileForClassWithPrivateOverloadedFunction.ts, 2, 27))
|
|
>x : Symbol(x, Decl(declFileForClassWithPrivateOverloadedFunction.ts, 1, 16))
|
|
|
|
private foo(x: string);
|
|
>foo : Symbol(C.foo, Decl(declFileForClassWithPrivateOverloadedFunction.ts, 0, 9), Decl(declFileForClassWithPrivateOverloadedFunction.ts, 1, 27), Decl(declFileForClassWithPrivateOverloadedFunction.ts, 2, 27))
|
|
>x : Symbol(x, Decl(declFileForClassWithPrivateOverloadedFunction.ts, 2, 16))
|
|
|
|
private foo(x: any) { }
|
|
>foo : Symbol(C.foo, Decl(declFileForClassWithPrivateOverloadedFunction.ts, 0, 9), Decl(declFileForClassWithPrivateOverloadedFunction.ts, 1, 27), Decl(declFileForClassWithPrivateOverloadedFunction.ts, 2, 27))
|
|
>x : Symbol(x, Decl(declFileForClassWithPrivateOverloadedFunction.ts, 3, 16))
|
|
}
|