-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Can't emit namespace events without arguments in TS #4917
Labels
bug
Something isn't working
Comments
BerkieBb
changed the title
Can't emit events without arguments in TS
Can't emit namespace events without arguments in TS
Jan 6, 2024
Related to #4914 |
Merged
5 tasks
darrachequesne
added
bug
Something isn't working
and removed
to triage
Waiting to be triaged by a member of the team
labels
Jan 8, 2024
Seems to be fixed, thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
After this change TypeScript doesn't recognize my events without arguments anymore and throws an error when I start my socket.
To Reproduce
Socket.IO server version:
4.7.3
Server
Client
Don't have one for my reproduction code and already in the HTML sent when the app is connected.
Expected behavior
For the event to get recognized by TypeScript even though no arguments were provided and for it to compile without any issues.
Platform:
The text was updated successfully, but these errors were encountered: