react-pixi icon indicating copy to clipboard operation
react-pixi copied to clipboard

type definition

Open congtung10t2 opened this issue 7 years ago • 1 comments
trafficstars

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 avatar Dec 28 '17 09:12 congtung10t2

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

congtung10t2 avatar Dec 28 '17 09:12 congtung10t2