Skip to content

Instantly share code, notes, and snippets.

@PhilipWee
Created August 15, 2022 07:44
Show Gist options
  • Save PhilipWee/57b4d07109d5f44e5aabb061f33c9c38 to your computer and use it in GitHub Desktop.
Save PhilipWee/57b4d07109d5f44e5aabb061f33c9c38 to your computer and use it in GitHub Desktop.
.
.
.
function useDebounce<Func extends SomeFunction>(func: Func, delay: number) {
.
.
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment