22 lines
328 B
JavaScript
22 lines
328 B
JavaScript
|
//// [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;
|