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/typescript-node-definitions/blob/master/socket.io.d.ts
It shows how to use TypeScript in combination with Socket.io. However on the client side it uses JavaScript.
What I need is a .d.ts file for client-side TypeScript, that resolves the error message from this line:
var socket=io.connect("localhost");
The name "io" does not exist in the current scope
Where can I find the appropriate definition file?