mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2025-06-06 09:24:21 +00:00
#216 TypeScript: instantiation without new keyword
This commit is contained in:
parent
6df248f559
commit
b95c6eb3c7
2
decimal.d.ts
vendored
2
decimal.d.ts
vendored
@ -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;
|
||||
|
2
decimal.global.d.ts
vendored
2
decimal.global.d.ts
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user