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:08:28 +01:00 committed by GitHub
parent 3dcadc7351
commit 65e63cedc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
decimal.global.d.ts vendored
View File

@ -286,7 +286,7 @@ export declare class Decimal {
static random(significantDigits?: number): Decimal;
static round(n: DecimalValue): Decimal;
static set(object: DecimalConfig): DecimalConstructor;
static sign(n: DecimalValue): Decimal;
static sign(n: DecimalValue): number;
static sin(n: DecimalValue): Decimal;
static sinh(n: DecimalValue): Decimal;
static sqrt(n: DecimalValue): Decimal;