Open yvele opened 1 year ago
// @Emiyaaaaa
But how can I make it work with only 1 level deep? 🤔
What's your case? I can't seem to reproduce that.
+1 to @yvele. It’d be cool to have PartialOnUndefined
and UndefinedOnPartial
in addition to PartialOnUndefinedDeep
and UndefinedOnPartialDeep
. These would be more performant and can be used when type mismatch exists only on one level of depth. Happy to try a PR if these two types can be accepted in theory.
+1 to @yvele. It’d be cool to have
PartialOnUndefined
andUndefinedOnPartial
in addition toPartialOnUndefinedDeep
andUndefinedOnPartialDeep
. These would be more performant and can be used when type mismatch exists only on one level of depth. Happy to try a PR if these two types can be accepted in theory.
Sure, go it.
There is
PartialOnUndefinedDeep
:But how can I make it work with only 1 level deep? 🤔
Upvote & Fund