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

Make debounce helpers to accept functions with arguments #3744

Closed
edloidas opened this issue Oct 8, 2024 · 0 comments · Fixed by #3745
Closed

Make debounce helpers to accept functions with arguments #3744

edloidas opened this issue Oct 8, 2024 · 0 comments · Fixed by #3745
Assignees
Labels
Bug Something isn't working

Comments

@edloidas
Copy link
Member

edloidas commented Oct 8, 2024

After refactoring, functions, that are passed to debounce helpers became () => void, which is a subset of Function, and does not cover functions, that return something, or can accept arguments.

@edloidas edloidas added the Bug Something isn't working label Oct 8, 2024
@edloidas edloidas self-assigned this Oct 8, 2024
edloidas added a commit that referenced this issue Oct 8, 2024
Replaced functions  inside debounce helpers with arrow functions.
Removed `args` declarations, used _anyArgs directly.
edloidas added a commit that referenced this issue Oct 8, 2024
Fixed types.
Replaced functions inside debounce helpers with arrow functions.
Removed `args` declarations, used _anyArgs directly.
Added VSCode config for development.
alansemenov pushed a commit that referenced this issue Oct 8, 2024
Fixed types.
Replaced functions inside debounce helpers with arrow functions.
Removed `args` declarations, used _anyArgs directly.
Added VSCode config for development.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant