Skip to content

Commit

Permalink
Added second method overload to index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Hudsxn committed Jan 31, 2024
1 parent e71b8fb commit 7d2629a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1201,6 +1201,7 @@ export interface MathJsInstance extends MathJsFactory {
* @returns Returns the hypothenuse of the input values.
*/
hypot<T extends number | BigNumber>(...args: T[]): T
hypot<T extends number | BigNumber>(args: T[]): T

/**
* Calculate the least common multiple for two or more values or arrays.
Expand Down

0 comments on commit 7d2629a

Please sign in to comment.