TypeScript/tests/baselines/reference/typeofModuleWithoutExports.js

22 lines
328 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [typeofModuleWithoutExports.ts]
module M {
var x = 1;
class C {
foo: number;
}
}
var r: typeof M;
//// [typeofModuleWithoutExports.js]
var M;
(function (M) {
var x = 1;
var C = (function () {
function C() {
}
return C;
})();
})(M || (M = {}));
var r;