- Notifications
You must be signed in to change notification settings - Fork10.1k
socket.io-client typescript error#4224
-
Hello, I am starting a new project with socketio-client. I use the version 4.4.0 but I have troubles with Typescript. When I try to use Property 'on' does not exist on type 'Socket<DefaultEventsMap, DefaultEventsMap>'.ts(2339) How can I do to be able to use the on function on my socket? I tried the Typescript definition but it did not change anything. Thanks |
BetaWas this translation helpful?Give feedback.
All reactions
Hi! That's weird, are you able to reliably reproduce? Could you please check with the examplethere?
Replies: 3 comments
-
Hi! That's weird, are you able to reliably reproduce? Could you please check with the examplethere? |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hello, |
BetaWas this translation helpful?Give feedback.
All reactions
🚀 1
-
I am hitting the same issue. |
BetaWas this translation helpful?Give feedback.