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

2.8.2 Typings/Type Definitions error for Graphics #284

Closed
dolanmiu opened this issue Jul 14, 2017 · 4 comments
Closed

2.8.2 Typings/Type Definitions error for Graphics #284

dolanmiu opened this issue Jul 14, 2017 · 4 comments
Milestone

Comments

@dolanmiu
Copy link

dolanmiu commented Jul 14, 2017

  • An error in the TypeScript defs

I get these errors:

src/prefabs/water/water.ts(26,18): error TS2339: Property 'beginFill' does not exist on type 'Graphics'.
src/prefabs/water/water.ts(28,18): error TS2339: Property 'drawPolygon' does not exist on type 'Graphics'.
src/states/main.ts(60,23): error TS2339: Property 'clear' does not exist on type 'Graphics'.
src/states/main.ts(62,23): error TS2339: Property 'endFill' does not exist on type 'Graphics'.

I fixed it by installing phaser-ce@2.8.1

@samme samme closed this as completed in c975bc9 Jul 14, 2017
@samme
Copy link
Collaborator

samme commented Jul 14, 2017

Could you test c975bc9?

@dolanmiu
Copy link
Author

@samme I can confirm that c975bc9 fixes it

@dolanmiu
Copy link
Author

When will 2.8.3 be released? At the moment, I will use 2.8.1 until then

@samme
Copy link
Collaborator

samme commented Jul 20, 2017

I think we can make a new release soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants