From 6db3df2eeea57dfb24b09da192448e2b13ed32d0 Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Tue, 20 Jun 2023 11:40:40 +0200 Subject: [PATCH] fix: #2972 type definitions of `Unit.divide(Unit)` have a wrong return type --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 60fa0fdf94..98ebe71114 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -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