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
#28663
keyof (A & B)
(keyof A) | (keyof B)
A & B
never
keyof never
false
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Update on Reducing Impossible Intersections
#28663
keyof (A & B)
being the same as(keyof A) | (keyof B)
, which is still true except for when the intersection is empty.A & B
more-often reduces tonever
(the proposed change), thenkeyof (A & B)
should becomekeyof never
.keyof (A & B)
being the same askeyof never
(being the same asnever
)?never
forA & B
.A & B
doesn't leak - it has to be an implementation detail.Permitting Deeply Nested Conditionals
#28663
false
branches.The text was updated successfully, but these errors were encountered: