You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can do assign types to .emit(..) and .event(..) by template constructor like this: const socketServer = new Server<ServerToClientEvents, ClientToServerEvents, InterServerEvents, SocketData>("chat");
but it's missing ability to do like this: socketServer.of<ServerToClientEvents, ClientToServerEvents, InterServerEvents, SocketData>("/myNamespace")
The text was updated successfully, but these errors were encountered:
You can do assign types to .emit(..) and .event(..) by template constructor like this:
const socketServer = new Server<ServerToClientEvents, ClientToServerEvents, InterServerEvents, SocketData>("chat");
but it's missing ability to do like this:
socketServer.of<ServerToClientEvents, ClientToServerEvents, InterServerEvents, SocketData>("/myNamespace")
The text was updated successfully, but these errors were encountered: