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

Update to Typescript definitions. #721

Merged
merged 2 commits into from
Mar 19, 2024
Merged

Conversation

kevin-nano
Copy link
Contributor

I'm using Typescript with the library and having some typing issues with the library.

  • Matrix#multiply has some typing issues when trying to multiply a Vector. This patch fixes the overloads of the function.
  • Added Two.BoundingBox to be able to use the returned object of getBoundingClientRect functions more easily.

@jonobr1
Copy link
Owner

jonobr1 commented Mar 19, 2024

Awesome, thank you!

@jonobr1 jonobr1 merged commit eb50447 into jonobr1:dev Mar 19, 2024
2 checks passed
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.

None yet

2 participants