-
-
Couldn't load subscription status.
- Fork 151
Open
Description
🐞 Bug Report
Describe the bug
Incorrect Optional (Patch?) results on types which look like Error
Reproduce the bug
type A = O.Optional<{ name: string; message: string }, 'some'>;Expected behavior
A should be like
{ name: string; message: string }Actual behavior
A is an empty object - {}
Possible Solution
I think it's related to ignoring built-in types in PatchFlat. But I have no competence in toolbelt's internals.
@millsp and co-authors: so many thanks to you for this kit! Everyday tool for years!
Metadata
Metadata
Assignees
Labels
No labels