mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
612 B
Plaintext
24 lines
612 B
Plaintext
//// [tests/cases/compiler/declarationMerging1.ts] ////
|
|
|
|
=== file1.ts ===
|
|
class A {
|
|
>A : Symbol(A, Decl(file1.ts, 0, 0), Decl(file2.ts, 0, 0))
|
|
|
|
protected _f: number;
|
|
>_f : Symbol(A._f, Decl(file1.ts, 0, 9))
|
|
|
|
getF() { return this._f; }
|
|
>getF : Symbol(A.getF, Decl(file1.ts, 1, 25))
|
|
>this._f : Symbol(A._f, Decl(file1.ts, 0, 9))
|
|
>this : Symbol(A, Decl(file1.ts, 0, 0), Decl(file2.ts, 0, 0))
|
|
>_f : Symbol(A._f, Decl(file1.ts, 0, 9))
|
|
}
|
|
|
|
=== file2.ts ===
|
|
interface A {
|
|
>A : Symbol(A, Decl(file1.ts, 0, 0), Decl(file2.ts, 0, 0))
|
|
|
|
run();
|
|
>run : Symbol(A.run, Decl(file2.ts, 0, 13))
|
|
}
|