Open Evertt opened 1 year ago
What's your argument for making a new type instead of supporting this in Merge
?
Yeah no good reason, I'd be very happy if this was just supported in Merge
by default. And even better if it could be supported in MergeDeep
as well.
Modify
is likeMerge
, but it allows you to remove properties from the resulting type if you define that property in theSource
with typenever
.See this playground, it will explain everything: https://tsplay.dev/m0zRrw
Upvote & Fund