TypeScript/tests/baselines/reference/typeofModuleWithoutExports.js
2014-07-12 17:30:19 -07:00

22 lines
328 B
TypeScript

//// [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;