We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TypeScript Version: 3.1.0-dev.20180809, 3.0.1
Search Terms: Unexpected token, reserved keyword
Code
({ for: class { }, default: class { } })
Expected behavior: Emits code with valid identifiers
Actual behavior: Emits code with invalid identifiers
({ for: /** @class */ (function () { function for() { // ~~~ Cannot use the keyword 'for' as a function name } ...
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered:
Should prefix the function names with _ in this case
_
Sorry, something went wrong.
Thanks @a-tarasyuk!
Successfully merging a pull request may close this issue.
TypeScript Version: 3.1.0-dev.20180809, 3.0.1
Search Terms:
Unexpected token, reserved keyword
Code
Expected behavior:
Emits code with valid identifiers
Actual behavior:
Emits code with invalid identifiers
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: