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.1.4
Code
let a = false function change() { a = true } change() const b = a === true
Expected behavior: No error
Actual behavior: error TS2365: Operator '===' cannot be applied to types 'false' and 'true'.
The text was updated successfully, but these errors were encountered:
See #9998. Can I ask how you didn't find #11178 or #12772 when searching?
Sorry, something went wrong.
@RyanCavanaugh sorry for that, I thought that '==' and '===' is notable difference for that case.
No branches or pull requests
TypeScript Version: 2.1.4
Code
Expected behavior:
No error
Actual behavior:
error TS2365: Operator '===' cannot be applied to types 'false' and 'true'.
The text was updated successfully, but these errors were encountered: