MikeMcl/decimal.js

Return type of sign() is Decimal in d.ts

gterras opened this issue · 3 comments

Hi,

static sign(n: DecimalValue): Decimal;

But as per the docs :

.sign(x)  number
typeof Decimal.sign(new Decimal(1)) // "number"

Corrected. Thank you.

Thanks a lot do you plan to tag a release soon ?

Published v10.4.2.