Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotations dont work when @ decorator is used in service #43

Open
pranavkaushik9 opened this issue Sep 14, 2017 · 2 comments
Open

Annotations dont work when @ decorator is used in service #43

pranavkaushik9 opened this issue Sep 14, 2017 · 2 comments

Comments

@pranavkaushik9
Copy link

I have a class written in ES6 style which is then exposed as angular service
Annotations are working fine until this class used @ decorator.

I am using mobx actions which requires methods to be decorated with @action. The moment I use @action inside my class annotations start breaking.

Is this a known issue?

@Maximaximum
Copy link

I have this issue too, and it's very pity :(

@Maximaximum
Copy link

It seems like we simply need to use this acorn plugin : https://github.com/angelozerr/acorn-es7
But how do we include it into the pipeline?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants