hexus / phaser-arcade-slopes

:triangular_ruler: A Phaser CE plugin that brings sloped tile collision handling to the Arcade Physics engine
MIT License
126 stars 16 forks source link

Added typescript definitions #12

Closed IkonOne closed 8 years ago

hexus commented 8 years ago

Thanks! I don't know much about typescript but I'll merge this in and include as part of 0.2.0.

Is this all that's needed to get it working with the language?

IkonOne commented 8 years ago

Yes it is. A person using typescript would simply copy the .d.ts file next to the phaser.d.ts file in their project structure, include a reference to it in their project and voila, code completion baby!

There are definitely errors and things missing with the definition though so I'll fix and send pull requests as I run into them.

hexus commented 8 years ago

Okay, sounds great. I'm happy to entrust you with the typescript definitions and let you know of any API changes as they develop. :wink: