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

17 lines
411 B
JavaScript

//// [augmentedTypesExternalModule1.ts]
export var a = 1;
class c5 { public foo() { } }
module c5 { } // should be ok everywhere
//// [augmentedTypesExternalModule1.js]
define(["require", "exports"], function (require, exports) {
exports.a = 1;
var c5 = (function () {
function c5() {
}
c5.prototype.foo = function () {
};
return c5;
})();
});