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

type definition #103

Open
congtung10t2 opened this issue Dec 28, 2017 · 1 comment
Open

type definition #103

congtung10t2 opened this issue Dec 28, 2017 · 1 comment

Comments

@congtung10t2
Copy link

capture
I config react-pixi work with typescript. But I got that issue.

I thought it because Stage in type definition ok with PIXI.DisplayObject. But Sprite is Component. then it still display in game ok like that:
capture
What should I do now? How to improve definition to work well with typescript?

@congtung10t2
Copy link
Author

congtung10t2 commented Dec 28, 2017

I ignored it by change from PIXI.DisplayObject[] -> any in ContainerPropsType

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