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: 2.0.3 / nightly (2.1.0-dev.201xxxxx) $ tsc --version Version 2.0.8
Code
let x = /* foo */ (1); let y = /* foo */ 1; let z = 1 /* foo */;
Expected behavior:
var x = /* foo */ (1); var y = /* foo */ 1; var z = 1 /* foo */;
Actual behavior:
var x = (1); var y = 1; var z = 1;
This is not a huge problem for most user code, but in tsickle we're adding comments that represent Closure Compiler casts for type assertions, e.g.:
let x = /** @type {string} */ (someExpr);
Which this behaviour breaks.
The text was updated successfully, but these errors were encountered:
Actually a duplicate of #9873
Sorry, something went wrong.
No branches or pull requests
TypeScript Version: 2.0.3 / nightly (2.1.0-dev.201xxxxx)
$ tsc --version
Version 2.0.8
Code
Expected behavior:
Actual behavior:
This is not a huge problem for most user code, but in tsickle we're adding comments that represent Closure Compiler casts for type assertions, e.g.:
Which this behaviour breaks.
The text was updated successfully, but these errors were encountered: