Skip to content

Return an error if either the left or right value are of type boolean #61759

New issue

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

Closed
wants to merge 1 commit into from

Conversation

CamBoyd
Copy link

@CamBoyd CamBoyd commented May 23, 2025

Fixes #15506
Check if the values on either side of a greater than (>) or less than symbol (<) are boolean and if so return an error.

@github-project-automation github-project-automation bot moved this to Not started in PR Backlog May 23, 2025
@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label May 23, 2025
@typescript-bot
Copy link
Collaborator

The TypeScript team hasn't accepted the linked issue #15506. If you can get it accepted, this PR will have a better chance of being reviewed.

@CamBoyd
Copy link
Author

CamBoyd commented May 30, 2025

This was just for a school assignment. It's been graded, so I am closing this PR. Apologies for any inconvenience this may have caused.

@CamBoyd CamBoyd closed this May 30, 2025
@github-project-automation github-project-automation bot moved this from Not started to Done in PR Backlog May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Backlog Bug PRs that fix a backlog bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Flag boolean in comparison operator operands as errors
2 participants