-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Support es7 exponation operator #2102
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
Comments
Creating an What happens if |
I guess, a more sophisticated solution could be to capture |
error 👍 |
I'm sure we could just perform some appropriate tests to see if
That's a rather untraditional direction to take. We don't currently take that approach with |
@DanielRosenwasser you want to check if |
Sorry, you'll have to forgive me, that was a joke. I've amended my comment to clarify it. |
No that's me sorry, since my english is far from being perfect I often fail to understand what is a joke in some context ^^. |
We obviously want/will support this when the time comes but given how early it is in ES7's development process we'd rather close this and wait on locking down exactly what ES7 is doing. As we've always said, ending up misaligned with a future ES version is our worst case scenario. Although it may be quite likely this ends up in ES7 as currently spec'd the risk of that not being the case isn't enough to add this to TypeScript today given the relatively low value of this operator. |
Once ES7 decides the exact syntax here (I could see |
https://github.com/rwaldron/exponentiation-operator I don't think it needs proposal.
Few emitting examples :
The text was updated successfully, but these errors were encountered: