is it possible to config typescript compiler to compile exported class with define module id?
typescript
export class Foo {...}
this is what tsc output (module: "amd")
define(["require", "exports"], function (require, exports) {...}
expected
define("Foo", ["require", "exports"], function (require, exports) {...}
Thank you very much
expected
define("Foo")
Use the super secret /// <amd-module name="Foo"/>
But I would advise against this as it will make your code needlessly amd specific.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With