mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2024-10-27 20:34:12 +00:00
Correct typings: toFraction returns Decimal[]
This commit is contained in:
parent
1cbf5ffb44
commit
17a358f2f4
2
decimal.d.ts
vendored
2
decimal.d.ts
vendored
@ -232,7 +232,7 @@ export declare class Decimal {
|
||||
// Requires `toFormat`.
|
||||
toFormat?(decimalPlaces: number, rounding: DecimalRounding): string;
|
||||
|
||||
toFraction(max_denominator?: DecimalValue): string[];
|
||||
toFraction(max_denominator?: DecimalValue): Decimal[];
|
||||
|
||||
toHexadecimal(significantDigits?: number): Decimal
|
||||
toHexadecimal(significantDigits: number, rounding: DecimalRounding): Decimal
|
||||
|
Loading…
Reference in New Issue
Block a user