25 lines
382 B
TypeScript
25 lines
382 B
TypeScript
//// [nameCollisionWithBlockScopedVariable1.ts]
|
|
module M {
|
|
export class C { }
|
|
}
|
|
module M {
|
|
{
|
|
let M = 0;
|
|
new C();
|
|
}
|
|
}
|
|
|
|
//// [nameCollisionWithBlockScopedVariable1.js]
|
|
var M;
|
|
(function (M) {
|
|
class C {
|
|
}
|
|
M.C = C;
|
|
})(M || (M = {}));
|
|
var M;
|
|
(function (M_1) {
|
|
{
|
|
let M = 0;
|
|
new M_1.C();
|
|
}
|
|
})(M || (M = {}));
|