spine
spine copied to clipboard
Argument of type 'Spine' is not assignable
I'm playing with your new Spine 3.0.1 version and I have seen a little issue.
const container = new PIXI.Container();
const anim = new Spine(spineData);
container.addChild(anim); // TS2345: Argument of type 'Spine' is not assignable to parameter of type 'DisplayObject'
My simple solution is: @ts-ignore but I think that would you like to check it Thanks!