sindresorhus/type-fest
`PartialDeep` make `Date` internal structure partial
Offen
#719 geöffnet am 20.10.2023
buggood first issuehelp wanted
Repository-Metriken
- Stars
- (12.328 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 3T 5h) (11 gemergte PRs in 30 T)
Beschreibung
I've noticed that when you apply PartialDeep to something containing Date it makes the Date internal structure partial, which causes some errors when combining it with zod validations for instance.
Should it skip internal JS classes like Date while making something partially deep?
I've found https://github.com/sindresorhus/type-fest/pull/342, but I still see the issue on version v4.4.0, might be a regression?