We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug this used to compile in typescript but won't in 4.0
(channel ? io.to(channel) : io).emit("stuff", message);
#3843
The text was updated successfully, but these errors were encountered:
fix(typings): update return type from emit (#3843)
1a72ae4
``` (channel ? io.to(channel) : io).emit("stuff", message); ``` would no longer compile. Related: #3844
This should be fixed by 1a72ae4. Thanks.
Sorry, something went wrong.
fix(typings): update return type from emit (socketio#3843)
097ccb8
``` (channel ? io.to(channel) : io).emit("stuff", message); ``` would no longer compile. Related: socketio#3844
No branches or pull requests
Describe the bug
this used to compile in typescript but won't in 4.0
(channel ? io.to(channel) : io).emit("stuff", message);
#3843
The text was updated successfully, but these errors were encountered: