phaser
phaser copied to clipboard
Group.bringToTop() has incorrect typescript signature
The Group "bringToTop" method is missing the "child" parameter in the typescript declaration file. It is declared in the jsdoc comment, however not in the method signature.
https://github.com/photonstorm/phaser/blob/dev/typescript/phaser.d.ts#L1504
2017: bringottop,moveup and movedown still wrong in TS Def, and link is dead.
The link is 2 years old, things move. More importantly though the defs are correct:
https://github.com/photonstorm/phaser/blob/master/v2/typescript/phaser.d.ts#L1807-L1808