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:
parent
65e63cedc4
commit
063e5fb7e9
2
decimal.d.ts
vendored
2
decimal.d.ts
vendored
@ -265,7 +265,7 @@ export declare class Decimal {
|
|||||||
static random(significantDigits?: number): Decimal;
|
static random(significantDigits?: number): Decimal;
|
||||||
static round(n: Decimal.Value): Decimal;
|
static round(n: Decimal.Value): Decimal;
|
||||||
static set(object: Decimal.Config): Decimal.Constructor;
|
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 sin(n: Decimal.Value): Decimal;
|
||||||
static sinh(n: Decimal.Value): Decimal;
|
static sinh(n: Decimal.Value): Decimal;
|
||||||
static sqrt(n: Decimal.Value): Decimal;
|
static sqrt(n: Decimal.Value): Decimal;
|
||||||
|
Loading…
Reference in New Issue
Block a user