mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
26 lines
479 B
TypeScript
26 lines
479 B
TypeScript
//// [tests/cases/compiler/duplicateIdentifierRelatedSpans_moduleAugmentation.ts] ////
|
|
|
|
//// [a.ts]
|
|
export const x = 0;
|
|
|
|
//// [b.ts]
|
|
export {};
|
|
|
|
declare module "./a" {
|
|
export const x = 0;
|
|
}
|
|
|
|
declare module "../dir/a" {
|
|
export const x = 0;
|
|
}
|
|
|
|
|
|
//// [a.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.x = void 0;
|
|
exports.x = 0;
|
|
//// [b.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|