The modern, community-first TypeScript toolkit with all of the fast, readable, and minimal utility functions you need. Type-safe, dependency-free, tree-shakeable, fully tested.
[!TIP]
The owner of this PR can publish a preview release by commenting /publish in this PR. Afterwards, anyone can try it out by running pnpm add radashi@pr<PR_NUMBER>.
Summary
Avoid inferring the memo return type from any of the given options, like the key callback.
See the added type tests for two examples.
Related issue, if any:
Closes #230
For any code change,
[x] Related tests have been added or updated, if needed
Summary
Avoid inferring the
memo
return type from any of the given options, like thekey
callback.See the added type tests for two examples.
Related issue, if any:
Closes #230
For any code change,
Does this PR introduce a breaking change?
No