pixi-ease
pixi-ease copied to clipboard
why does ease.add return an array of EaseDisplayObject?
As far as I can see, it only ever returns one.
ease.add returns an Easing. Where do you see the array of EaseDisplayObjects?
Sorry, I should have mentioned that this was in the index.d.ts typescript definitions file
add(element: PIXI.DisplayObject, params: EaseParams, options: AddOptions): EaseDisplayObject | EaseDisplayObject[]
i think that's based on the old code. i don't use typescript so i'm not great about updating the types. happy to take a PR if you have time