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

Improve type definitions of function hypot #3144

Merged
merged 3 commits into from Jan 31, 2024
Merged

Conversation

Hudsxn
Copy link
Contributor

@Hudsxn Hudsxn commented Jan 29, 2024

Addressed silentmissile's comment in:
#3125

@josdejong
Copy link
Owner

Thanks @Hudsxn !

The function hypot has two signatures, can you add both to the type definitions?

math.hypot(a, b, ...)
math.hypot([a, b, c, ...])

@josdejong josdejong changed the title https://github.com/josdejong/mathjs/issues/3125 Improve type definitions of function hypot Jan 31, 2024
@Hudsxn
Copy link
Contributor Author

Hudsxn commented Jan 31, 2024

Yeah sure, i'll go through and add that now :)

…nges to package-lock.json with using npm install to run the unit tests & lint tests
@Hudsxn
Copy link
Contributor Author

Hudsxn commented Jan 31, 2024

That's been addressed now buddy. :)

@josdejong
Copy link
Owner

Thanks, looks good 👌

@josdejong josdejong merged commit 270559a into josdejong:develop Jan 31, 2024
9 checks passed
@josdejong
Copy link
Owner

Your fix is published now in v12.3.1, thanks again.

@Hudsxn
Copy link
Contributor Author

Hudsxn commented Feb 1, 2024

Not a problem bud! Happy to help :)

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