39 lines
1.1 KiB
JavaScript
39 lines
1.1 KiB
JavaScript
|
//// [moduleExports1.ts]
|
||
|
export module TypeScript.Strasse.Street {
|
||
|
export class Rue {
|
||
|
public address:string;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
var rue = new TypeScript.Strasse.Street.Rue();
|
||
|
|
||
|
rue.address = "1 Main Street";
|
||
|
|
||
|
void 0;
|
||
|
|
||
|
if (!module.exports) module.exports = "";
|
||
|
|
||
|
//// [moduleExports1.js]
|
||
|
define(["require", "exports"], function (require, exports) {
|
||
|
(function (TypeScript) {
|
||
|
(function (Strasse) {
|
||
|
(function (Street) {
|
||
|
var Rue = (function () {
|
||
|
function Rue() {
|
||
|
}
|
||
|
return Rue;
|
||
|
})();
|
||
|
Street.Rue = Rue;
|
||
|
})(Strasse.Street || (Strasse.Street = {}));
|
||
|
var Street = Strasse.Street;
|
||
|
})(TypeScript.Strasse || (TypeScript.Strasse = {}));
|
||
|
var Strasse = TypeScript.Strasse;
|
||
|
})(exports.TypeScript || (exports.TypeScript = {}));
|
||
|
var TypeScript = exports.TypeScript;
|
||
|
var rue = new TypeScript.Strasse.Street.Rue();
|
||
|
rue.address = "1 Main Street";
|
||
|
void 0;
|
||
|
if (!module.exports)
|
||
|
module.exports = "";
|
||
|
});
|