spine icon indicating copy to clipboard operation
spine copied to clipboard

Argument of type 'Spine' is not assignable

Open rtalon83 opened this issue 3 years ago • 4 comments

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!

rtalon83 avatar Apr 30 '21 11:04 rtalon83