cincheo / jsweet-angular2-quickstart

JSweet-enabled Angular 2 quickstart
MIT License
9 stars 8 forks source link

access module.id #2

Open renaudpawlak opened 7 years ago

renaudpawlak commented 7 years ago

I have noticed that in Angular 2 examples, some decorators access module.id, which is from commonsjs. Right now JSweet does not support this construct, but it could quite easily. Would it be helpful?

renaudpawlak commented 7 years ago

Here is an example: https://github.com/johnpapa/angular2-tour-of-heroes/blob/master/app/dashboard.component.ts#L8