mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
fix: #2972 type definitions of Unit.divide(Unit) have a wrong return type
This commit is contained in:
parent
29db0fb288
commit
6db3df2eee
2
types/index.d.ts
vendored
2
types/index.d.ts
vendored
@ -3880,7 +3880,7 @@ declare namespace math {
|
||||
equalBase(unit: Unit): boolean
|
||||
equals(unit: Unit): boolean
|
||||
multiply(unit: Unit): Unit
|
||||
divide(unit: Unit): Unit
|
||||
divide(unit: Unit): Unit | number
|
||||
pow(unit: Unit): Unit
|
||||
abs(unit: Unit): Unit
|
||||
to(unit: string): Unit
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user