Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript defs errors for newly added methods in v2.8.0 #255

Closed
pavle-goloskokovic opened this issue Jun 9, 2017 · 0 comments
Closed

Comments

@pavle-goloskokovic
Copy link
Contributor

Getting these errors from TypeScript compiler when using the newest version:

...\node_modules\phaser-ce\typescript\phaser.comments.d.ts
 Error:(10637, 9) TS7010:'resetAll', which lacks return-type annotation, implicitly has an 'any' return type.
 Error:(10683, 9) TS7010:'scatter', which lacks return-type annotation, implicitly has an 'any' return type.
 Error:(16542, 17) TS7010:'setAngle', which lacks return-type annotation, implicitly has an 'any' return type.

Seems like newly added methods
https://photonstorm.github.io/phaser-ce/Phaser.Group.html#resetAll,
https://photonstorm.github.io/phaser-ce/Phaser.Group.html#scatter and
https://photonstorm.github.io/phaser-ce/Phaser.Particles.Arcade.Emitter.html#setAngle
are missing return type annotation.

@samme samme closed this as completed in 61aa979 Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant