azerion / phaser-input

Adds input boxes to Phaser like CanvasInput, but also works for WebGL and Mobile, made for Phaser only.
MIT License
201 stars 64 forks source link

Update phaser-input.d.ts #17

Closed perara closed 7 years ago

perara commented 7 years ago

I have no idea if this is correct way to do it. But i'm getting errors in my typescript compilation when using the plugin. THe solution was to add following to the definition.

AleBles commented 7 years ago

That's an interesting fix. Which version of TypeScript are you using?

perara commented 7 years ago

I am using 1.8.10 of typescript

AleBles commented 7 years ago

Okay, that seems fine. Could you also list the compilation error given?