1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00

#209 Correct return type

This commit is contained in:
Michael M 2022-10-07 18:09:07 +01:00 committed by GitHub
parent 65e63cedc4
commit 063e5fb7e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
decimal.d.ts vendored
View File

@ -265,7 +265,7 @@ export declare class Decimal {
static random(significantDigits?: number): Decimal;
static round(n: Decimal.Value): Decimal;
static set(object: Decimal.Config): Decimal.Constructor;
static sign(n: Decimal.Value): Decimal;
static sign(n: Decimal.Value): number;
static sin(n: Decimal.Value): Decimal;
static sinh(n: Decimal.Value): Decimal;
static sqrt(n: Decimal.Value): Decimal;