mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
550 B
Plaintext
24 lines
550 B
Plaintext
//// [tests/cases/compiler/duplicateIdentifierRelatedSpans_moduleAugmentation.ts] ////
|
|
|
|
=== /dir/a.ts ===
|
|
export const x = 0;
|
|
>x : Symbol(x, Decl(a.ts, 0, 12))
|
|
|
|
=== /dir/b.ts ===
|
|
export {};
|
|
|
|
declare module "./a" {
|
|
>"./a" : Symbol("./a", Decl(a.ts, 0, 0), Decl(b.ts, 0, 10), Decl(b.ts, 4, 1))
|
|
|
|
export const x = 0;
|
|
>x : Symbol(x, Decl(b.ts, 3, 16))
|
|
}
|
|
|
|
declare module "../dir/a" {
|
|
>"../dir/a" : Symbol("./a", Decl(a.ts, 0, 0), Decl(b.ts, 0, 10), Decl(b.ts, 4, 1))
|
|
|
|
export const x = 0;
|
|
>x : Symbol(x, Decl(b.ts, 7, 16))
|
|
}
|
|
|