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

Expanding types to closer match runtimes #404

Merged
merged 2 commits into from
Aug 10, 2021

Conversation

liamf1986
Copy link
Contributor

I found a few holes in the Types while porting to v3 so I've added what I identified here.

  • Kept it to properties that exist in Spine 3.7, 3.8 and 4.0 as seen at those links.
  • On ISkeleton I mimicked the Generic setup of IBone and ISlot for the new ISkin for consistency though I'm not sure if it is required.
  • ISkin has some extra properties in 3.8 and 4.0 but as they are not present in 3.7 I've just left them off for now keeping it simple.
  • Added void return types to addListener and removeListener for consistency.

@ivanpopelyshev ivanpopelyshev merged commit ccf3573 into pixijs-userland:master Aug 10, 2021
@ivanpopelyshev
Copy link
Collaborator

That one is good, do you want to do anything else or i can publish new version?

@liamf1986
Copy link
Contributor Author

That one is good, do you want to do anything else or i can publish new version?

Nothing else from me for now so publish away :)

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

Successfully merging this pull request may close these issues.

2 participants