I would like to use socket.io in my Typescript project, but I\'ve only found .d.ts files for server-side typescript.
This is a nice example: https://github.com/soywiz/ty
Inside @types/socket.io-client, you can find the following type which is best suited for clients:
@types/socket.io-client
const client: SocketIOClient.Socket = io('http://localhost');