mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
386 B
TypeScript
18 lines
386 B
TypeScript
//// [tests/cases/compiler/collisionCodeGenModuleWithMemberVariable.ts] ////
|
|
|
|
//// [collisionCodeGenModuleWithMemberVariable.ts]
|
|
namespace m1 {
|
|
export var m1 = 10;
|
|
var b = m1;
|
|
}
|
|
var foo = m1.m1;
|
|
|
|
//// [collisionCodeGenModuleWithMemberVariable.js]
|
|
"use strict";
|
|
var m1;
|
|
(function (m1_1) {
|
|
m1_1.m1 = 10;
|
|
var b = m1_1.m1;
|
|
})(m1 || (m1 = {}));
|
|
var foo = m1.m1;
|