fix: #2972 type definitions of Unit.divide(Unit) have a wrong return type

This commit is contained in:
Jos de Jong 2023-06-20 11:40:40 +02:00
parent 29db0fb288
commit 6db3df2eee

2
types/index.d.ts vendored
View File

@ -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