radashi-org / radashi

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.
https://radashi.js.org
MIT License
314 stars 25 forks source link

docs: fix runtime errors in docs examples for playground #247

Closed MarlonPassos-git closed 1 month ago

MarlonPassos-git commented 2 months ago

[!TIP]
The owner of this PR can publish a preview release by commenting /publish in this PR. Afterward, anyone can try it by running pnpm add radashi@pr<PR_NUMBER>.

Summary

This PR resolves the issue mentioned in Discussion #207 by fixing runtime errors in several code examples across the docs/ folder. This fix ensures that all documented examples will now run as expected.

Related issue, if any:

Fixes #207

For any code change,

Does this PR introduce a breaking change?

No

Bundle impact

Status File Size [^1337] Difference
M src/array/merge.ts 185 -25 (-12%)

[^1337]: Function size includes the import dependencies of the function.

aleclarson commented 2 months ago

This is great! I will definitely review this before v12.2.0 is released. 👍