Certain homomorphic mappings break assignability with exactOptionalPropertyTypes #60233
Labels
Help Wanted
You can do this
Possible Improvement
The current behavior isn't wrong, but it's possible to see that it might be better in some cases
Milestone
π Search Terms
eopt exactOptionalPropertyTypes homomorphic Omit unassignable
π Version & Regression Information
β― Playground Link
https://tsplay.dev/w28Qzm
π» Code
π Actual behavior
Applying a homomorphic mapping to a type can break property assignability with EOPT
π Expected behavior
Should preserve assignability
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: