Is there a way to create non-anonymous AMD Modules in Typescript. When I define a module like this:
export module Bootstrapper {
export function run() {
var i = 0;
}
}
the generate code is:
define(["require", "exports"], function(require, exports) {
(function (Bootstrapper) {
function run() {
var i = 0;
}
Bootstrapper.run = run;
})(exports.Bootstrapper || (exports.Bootstrapper = {}));
})
How can I define a non-anomymous module like this:
define('bootstrapper', ["require", "exports"], function(require, exports) {
(function (Bootstrapper) {
function run() {
var i = 0;
}
Bootstrapper.run = run;
})(exports.Bootstrapper || (exports.Bootstrapper = {}));
})