Reputation: 849
i compile my class:
export class Test implements baseTest
Compile file have first string:
define(Object, ......,);
How i can compile withor define only like this:
var Test = (function(){..})();
Upvotes: 0
Views: 57
Reputation: 220964
Remove the export
keyword. You're trying to make a module when it seems you want global code.
Upvotes: 1