Files
tsgo/testdata/baselines/reference/compiler/patternAmbientModuleAugmentationMergedSymbol.errors.txt

32 lines
855 B
Plaintext

/index.ts(9,7): error TS2339: Property 'augmented' does not exist on type 'typeof import("*.asset")'.
==== /a.d.ts (0 errors) ====
declare module "*.asset" {
export const fromA: "a";
}
==== /b.d.ts (0 errors) ====
declare module "*.asset" {
export const fromB: "b";
}
==== /augmentation.ts (0 errors) ====
export {};
declare module "augmented.asset" {
export const augmented: "augmented";
}
==== /index.ts (1 errors) ====
import * as augmented from "augmented.asset";
augmented.fromA;
augmented.fromB;
augmented.augmented;
import * as other from "other.asset";
other.fromA;
other.fromB;
other.augmented;
~~~~~~~~~
!!! error TS2339: Property 'augmented' does not exist on type 'typeof import("*.asset")'.