diff --git a/decimal.d.ts b/decimal.d.ts index 0fbc7b2..338dc56 100644 --- a/decimal.d.ts +++ b/decimal.d.ts @@ -297,3 +297,5 @@ export declare class Decimal { static readonly ROUND_HALF_FLOOR: 8; static readonly EUCLID: 9; } + +export declare function Decimal(n: Decimal.Value): Decimal; diff --git a/decimal.global.d.ts b/decimal.global.d.ts index 6b28256..ddc5109 100644 --- a/decimal.global.d.ts +++ b/decimal.global.d.ts @@ -318,3 +318,5 @@ export declare class Decimal { static readonly ROUND_HALF_FLOOR: 8; static readonly EUCLID: 9; } + +export declare function Decimal(n: Decimal.Value): Decimal;