We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect Optional (Patch?) results on types which look like Error
type A = O.Optional<{ name: string; message: string }, 'some'>;
A should be like
{ name: string; message: string }
A is an empty object - {}
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!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐞 Bug Report
Describe the bug
Incorrect Optional (Patch?) results on types which look like Error
Reproduce the bug
Expected behavior
A should be like
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!
The text was updated successfully, but these errors were encountered: