-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this
Milestone
Description
From #587 -
We should give a better, more helpful error message when the ^ operator is used on boolean values.
From the comment:
Given this decision, may I suggest improving the error message to state something akin to the following?
"error TS0000: The ^ operator is not allowed for boolean types. Consider using !== instead."
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this