TypeScript definitions for the client side

Hi there,
I'm new to multiplayer development. I've been using TypeScript and Visual Code for my html5 games.

I've seen the defs for the server side, but are there any defs. for the client side?

Hey @enriqueto, welcome!

If you're using webpack + typescript (recommended) you don't need to worry about the type definitions, the TypeScript compiler will grab them automatically from the NPM package.

If you prefer using the distribution file directly (.js + .d.ts), you can find them here: https://github.com/gamestdio/colyseus.js/tree/master/dist

Cheers!

Muito obrigado.

I need to switch using webpack + TS yet. I'll use the distribution files for this project.