Closed gtAvenir closed 1 year ago
May got it wrong but using the new version of this lib with typerscript, I m getting a error about the type when I m attaching custom data in the websocket object, maybe because we are missing [key: string]: UserData;
https://github.com/uNetworking/uWebSockets.js/blob/875f16e1fa8483f1cbe6e50fdb25efe4fc383731/docs/index.d.ts#L108
Maybe was intentional, but would be great if you could let me know.
Cheers!
Sorry to bother got it is generic type
May got it wrong but using the new version of this lib with typerscript, I m getting a error about the type when I m attaching custom data in the websocket object, maybe because we are missing [key: string]: UserData;
https://github.com/uNetworking/uWebSockets.js/blob/875f16e1fa8483f1cbe6e50fdb25efe4fc383731/docs/index.d.ts#L108
Maybe was intentional, but would be great if you could let me know.
Cheers!