keyof collapses the expression when used in a mapped type #55129
Labels
Possible Improvement
The current behavior isn't wrong, but it's possible to see that it might be better in some cases
Milestone
Bug Report
π Search Terms
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
"apple:red" | "apple:yellow" | "apple:orange" | "banana:red" | "banana:yellow" | "banana:orange" | "strawberry:red" | "strawberry:yellow" | "strawberry:orange"
Result2
is collapsed:π Expected behavior
"apple:red" | "banana:yellow" | "orange:orange"
The text was updated successfully, but these errors were encountered: