Skip to content
New issue

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

feat(curry): add leading option for function debounce and throttle #387

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

LynnSha1ng
Copy link

@LynnSha1ng LynnSha1ng commented Mar 19, 2024

Descriptions

test(curry): add test for leading option
doc(curry): modify description and examples of leading option in function debounce and throttle
type(curry): extract types of the options object of function debounce and throttle as type DebounceConfig and ThrottleConfig.

Checklist

  • Changes are covered by tests if behavior has been changed or added
  • Tests have 100% coverage
  • If code changes were made, the version in package.json has been bumped (matching semver)
  • 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

test(curry): add test for `leading` option
doc(curry): add description and example of `leading` option
Copy link

vercel bot commented Mar 19, 2024

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 Mar 21, 2024 3:05am

type(curry): extract the type of options object as type `ThrottleConfig`
doc(curry): modify description and examples of function `throttle`
test(curry): add test for `leading` option of function `throttle`
@LynnSha1ng LynnSha1ng changed the title feat(curry): add leading option for function debounce feat(curry): add leading option for function debounce and throttle Mar 21, 2024
@LynnSha1ng LynnSha1ng marked this pull request as ready for review March 21, 2024 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant