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:
What should I do now? How to improve definition to work well with typescript?
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: What should I do now? How to improve definition to work well with typescript?