-
-
Notifications
You must be signed in to change notification settings - Fork 258
(Discussion): Split Class/Property decorators plugin (Stage 2) from Stage 0 proposal #237
Comments
I didn't realize we supported function expression decorators, are you sure? |
Updated the OP - I got that backwards. We currently support method param decorators, but not function expression decorators. |
If the proposals are splitted, we should also have seperate plugins I think. But we should be carefully and not break users currently using decorators already. So maybe 3 new plugins and leave the current decorator plugin as is? |
Please don't forget that spec still can have breaking changes so we probably need to think about naming before publish. This is unlikely will affect parser but anyway..
|
Ref babel/babel#4955
|
#587 with the |
I think decorators2 already disallows the other two so we can close this? |
This issue has been moved to babel/babel#6711. |
The
decorators
plugin currently enables support for the following proposals:Is anyone opposed to breaking these out to separate plugins?
The text was updated successfully, but these errors were encountered: