mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
64 lines
2.0 KiB
Plaintext
64 lines
2.0 KiB
Plaintext
//// [tests/cases/compiler/patternAmbientModuleAugmentationMergedSymbol.ts] ////
|
|
|
|
=== /a.d.ts ===
|
|
declare module "*.asset" {
|
|
>"*.asset" : Symbol("*.asset", Decl(a.d.ts, 0, 0), Decl(b.d.ts, 0, 0))
|
|
|
|
export const fromA: "a";
|
|
>fromA : Symbol(fromA, Decl(a.d.ts, 1, 16))
|
|
}
|
|
|
|
=== /b.d.ts ===
|
|
declare module "*.asset" {
|
|
>"*.asset" : Symbol("*.asset", Decl(a.d.ts, 0, 0), Decl(b.d.ts, 0, 0))
|
|
|
|
export const fromB: "b";
|
|
>fromB : Symbol(fromB, Decl(b.d.ts, 1, 16))
|
|
}
|
|
|
|
=== /augmentation.ts ===
|
|
export {};
|
|
|
|
declare module "augmented.asset" {
|
|
>"augmented.asset" : Symbol("augmented.asset", Decl(augmentation.ts, 0, 10), Decl(a.d.ts, 0, 0), Decl(b.d.ts, 0, 0))
|
|
|
|
export const augmented: "augmented";
|
|
>augmented : Symbol(augmented, Decl(augmentation.ts, 3, 16))
|
|
}
|
|
|
|
=== /index.ts ===
|
|
import * as augmented from "augmented.asset";
|
|
>augmented : Symbol(augmented, Decl(index.ts, 0, 6))
|
|
|
|
augmented.fromA;
|
|
>augmented.fromA : Symbol(augmented.fromA, Decl(a.d.ts, 1, 16))
|
|
>augmented : Symbol(augmented, Decl(index.ts, 0, 6))
|
|
>fromA : Symbol(augmented.fromA, Decl(a.d.ts, 1, 16))
|
|
|
|
augmented.fromB;
|
|
>augmented.fromB : Symbol(augmented.fromB, Decl(b.d.ts, 1, 16))
|
|
>augmented : Symbol(augmented, Decl(index.ts, 0, 6))
|
|
>fromB : Symbol(augmented.fromB, Decl(b.d.ts, 1, 16))
|
|
|
|
augmented.augmented;
|
|
>augmented.augmented : Symbol(augmented.augmented, Decl(augmentation.ts, 3, 16))
|
|
>augmented : Symbol(augmented, Decl(index.ts, 0, 6))
|
|
>augmented : Symbol(augmented.augmented, Decl(augmentation.ts, 3, 16))
|
|
|
|
import * as other from "other.asset";
|
|
>other : Symbol(other, Decl(index.ts, 5, 6))
|
|
|
|
other.fromA;
|
|
>other.fromA : Symbol(augmented.fromA, Decl(a.d.ts, 1, 16))
|
|
>other : Symbol(other, Decl(index.ts, 5, 6))
|
|
>fromA : Symbol(augmented.fromA, Decl(a.d.ts, 1, 16))
|
|
|
|
other.fromB;
|
|
>other.fromB : Symbol(augmented.fromB, Decl(b.d.ts, 1, 16))
|
|
>other : Symbol(other, Decl(index.ts, 5, 6))
|
|
>fromB : Symbol(augmented.fromB, Decl(b.d.ts, 1, 16))
|
|
|
|
other.augmented;
|
|
>other : Symbol(other, Decl(index.ts, 5, 6))
|
|
|