tsed: @tsed/socketio bugs
Informations
I can’t import @SocketMiddlewareError() and @SocketMiddleware() decorators (missing import statements).
In examples are @SocketErr() but it should be @SocketErr.
Compilation error (TS version=2.6.2):
node_modules/@tsed/socketio/lib/services/SocketIOServer.d.ts(9,45): error TS1005: '=' expected.
9 export declare const SocketIOServer: unique symbol;
Is there any way to inject to @SocketMiddlewareError() event name on which the error occurred?
Bug | 4.8.1
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 22
Commits related to this issue
- feat(socketio): Add SocketEventName decorator - Fix documentation - Fix exportation of SocketMiddleware and SocketMiddlewareError Closes: #282 — committed to tsedio/tsed by Romakita 6 years ago
- feat(socketio): Add SocketEventName decorator - Fix documentation - Fix exportation of SocketMiddleware and SocketMiddlewareError Closes: #282 — committed to tsedio/tsed by Romakita 6 years ago
- feat(socketio): Share socket session between the same socketService namespace Closes: #282 — committed to tsedio/tsed by Romakita 6 years ago
v4.10.0
Per namespace, I thinks it’s possible.
v4.9.0