mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
32 lines
576 B
TypeScript
32 lines
576 B
TypeScript
// @strict: true
|
|
// @module: preserve
|
|
// @moduleResolution: bundler
|
|
// @noEmit: true
|
|
|
|
// @filename: /a.d.ts
|
|
declare module "*.asset" {
|
|
export const fromA: "a";
|
|
}
|
|
|
|
// @filename: /b.d.ts
|
|
declare module "*.asset" {
|
|
export const fromB: "b";
|
|
}
|
|
|
|
// @filename: /augmentation.ts
|
|
export {};
|
|
|
|
declare module "augmented.asset" {
|
|
export const augmented: "augmented";
|
|
}
|
|
|
|
// @filename: /index.ts
|
|
import * as augmented from "augmented.asset";
|
|
augmented.fromA;
|
|
augmented.fromB;
|
|
augmented.augmented;
|
|
|
|
import * as other from "other.asset";
|
|
other.fromA;
|
|
other.fromB;
|
|
other.augmented; |