radash
radash copied to clipboard
types: type safer implementation and more accurate inference of return value type for `shake`
Description
- Type Fix: Fix the problem that the return value of
shake()function is always a null object by TypeScript inference. - Comment Add: Sample code added to the JsDoc for the
shake()function.
Checklist
- [x] Changes are covered by tests if behavior has been changed or added
- [x] Tests have 100% coverage
- [ ] If code changes were made, the version in
package.jsonhas been bumped (matching semver) - [x] If code changes were made, the
yarn buildcommand has been run and to update thecdndirectory - [ ] If code changes were made, the documentation (in the
/docsdirectory) has been updated
Resolves
Resolves #388
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| radash-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 5, 2024 1:52pm |
Hi @AliubYiero, your fix is available in radashi@beta today (see #12). An official release is pending. We'd love to have you participate in the discussion and/or development of the radashi-org/radashi fork. 😄