Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why does ease.add return an array of EaseDisplayObject? #8

Open
w0nche0l opened this issue Oct 23, 2019 · 3 comments
Open

why does ease.add return an array of EaseDisplayObject? #8

w0nche0l opened this issue Oct 23, 2019 · 3 comments

Comments

@w0nche0l
Copy link

As far as I can see, it only ever returns one.

@davidfig
Copy link
Owner

ease.add returns an Easing. Where do you see the array of EaseDisplayObjects?

@w0nche0l
Copy link
Author

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[]

@davidfig
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants