docs(examples): add example with TypeScript
There are two issues with the typings: - on the client-side, the Emitter class is not properly imported (hence the @ts-ignore) - on the server-side, the Socket class is not exported (in order to cast it in the "connect" event)
D
Damien Arrachequesne committed
a81b9f31cf735e1814b11fd9ccf78e8d411b9a06
Parent: 20ea6bd