phaser icon indicating copy to clipboard operation
phaser copied to clipboard

Group.bringToTop() has incorrect typescript signature

Open sanchopancho13 opened this issue 11 years ago • 3 comments

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.

sanchopancho13 avatar Jun 01 '15 02:06 sanchopancho13

https://github.com/photonstorm/phaser/blob/dev/typescript/phaser.d.ts#L1504

photonstorm avatar Jun 02 '15 18:06 photonstorm

2017: bringottop,moveup and movedown still wrong in TS Def, and link is dead.

tenchugecko avatar Feb 25 '17 10:02 tenchugecko

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

photonstorm avatar Feb 27 '17 09:02 photonstorm