Jump to content

Issue with typescript version 2.0.4


Enric
 Share

Recommended Posts

Hi,

 

I just started programming with phaserjs. I really enjoy it. But I have some issue with the typescript version. When I compile it with grunt I have this error : "error TS2094: The property 'angle' does not exist on value of type 'Phaser.Point'.". So at the begining I thought I've made a typo but after looking at the file Phaser.d.ts I notice that the methods "angle" and "anglesq" are not present in the file whereas they are present in the js file.

I'm only the one or it's a real issue ?

Link to comment
Share on other sites

Yeah Manifest is right.  Generally speaking we are 1-6 days out of date compared to the latest Dev version. There is a pull request with these missing definitions, it has just not been merged yet.  I find it easier to wait a few days and browse the commit history but you can feel free to push to the dev/build/phaser.d.ts file with any mistakes you find.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...