swc/tests/tsc-references/internalModules/moduleDeclarations/invalidInstantiatedModule/input.ts/es2015.1.normal/output.js

16 lines
196 B
JavaScript

var M;
(function(M) {
class Point {
}
M.Point = Point;
M.Point = 1;
})(M || (M = {
}));
var M2;
(function(M2) {
M2.Point = 1;
})(M2 || (M2 = {
}));
var m = M2;
var p; // Error