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
function (m: string) { [1, 2, 3].map(i => { return true? { [m]: i } : false }) }
produces:
function (m) { [1, 2, 3].map(function (i) { return true ? _a = {}, _a[m] = i, _a : false; // <-- unexpected token , var _a; }); }
instead of:
function (m) { [1, 2, 3].map(function (i) { return true ? (_a = {}, _a[m] = i, _a) : false; var _a; }); }
Tested 2.0.10 is working correctly.
The text was updated successfully, but these errors were encountered:
@unional looks like this issue is identical to #12412. Closing the other one since this one seems to have better title and description
Sorry, something went wrong.
Just closed. Don't know why it is created twice.
@vladima can you take a look.
Successfully merging a pull request may close this issue.
produces:
instead of:
Tested 2.0.10 is working correctly.
The text was updated successfully, but these errors were encountered: