How to extend Client and Socket types in [email protected] and [email protected] #4122
Answered
by
panwauu
ehsanshekari
asked this question in
Q&A
-
I have a Node.js Server with Typescript and now I want to update the socket.io depencency to 4.2.0.
How can I achieve the same thing with [email protected]? |
Beta Was this translation helpful? Give feedback.
Answered by
panwauu
Oct 27, 2021
Replies: 1 comment
-
On Socket there is a data field which is any typed. So you can put any additional data there |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ehsanshekari
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Socket there is a data field which is any typed. So you can put any additional data there