radash icon indicating copy to clipboard operation
radash copied to clipboard

types: type safer implementation and more accurate inference of return value type for `shake`

Open AliubYiero opened this issue 1 year ago • 2 comments

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.json has been bumped (matching semver)
  • [x] If code changes were made, the yarn build command has been run and to update the cdn directory
  • [ ] If code changes were made, the documentation (in the /docs directory) has been updated

Resolves

Resolves #388

AliubYiero avatar May 05 '24 13:05 AliubYiero

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

vercel[bot] avatar May 05 '24 13:05 vercel[bot]

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. 😄

aleclarson avatar Jun 28 '24 18:06 aleclarson