-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Proposal: Decorators #4626
Comments
It is our policy to not support outputting any ES syntax that has yet to reach stage 4 (i.e. finalized). See http://coffeescript.org/v2/#contributing. We can support the feature, like we support object spread syntax, but the compiler’s output would need to use finalized ES syntax. What this means in practice is that if support for the feature is added, the CoffeeScript compiler’s output would generally be similar or identical to Babel’s output for that feature. See related #4552. |
|
Closing due to lack of interest. |
babel/proposals#11
babel/proposals#13
Sample input:
Expected output (Babel):
Current workaround: Apply the decorate as a high-order function like in ES5
Or:
You may find it difficult to understand, but please proof-read as much. I'm not English-native.
The text was updated successfully, but these errors were encountered: