Conditional types behavior is different when referencing same type with different name #44945
Labels
Bug
A bug in TypeScript
Fix Available
A PR has been opened for this issue
Rescheduled
This issue was previously scheduled to an earlier milestone
Milestone
Bug Report
π Search Terms
conditional types different name
π Version & Regression Information
v4.4.0-beta
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
X1
andX2
is different.π Expected behavior
X1
andX2
is the same.Actually,
Left
andRight
are the same,Equal1
andEqual2
are the same.But the result of
Equal1
andEqual2
with the same parameters are different.The text was updated successfully, but these errors were encountered: