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

fix: emit listeners with no params explicitly #273

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

MarshallOfSound
Copy link
Member

This seems to have been an oversight from the original implementation, having zero parameters is valid and () => void is way better than Function.

Function is effectively any when it comes to calling / binding and such

@MarshallOfSound MarshallOfSound requested review from a team as code owners August 8, 2024 06:47
@MarshallOfSound MarshallOfSound merged commit 988dfd3 into main Aug 8, 2024
4 checks passed
@MarshallOfSound MarshallOfSound deleted the emit-empty-listeners branch August 8, 2024 08:25
Copy link

🎉 This PR is included in version 8.15.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants