mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2024-10-27 20:34:12 +00:00
Remove toStringTag declaration for type compatibility
- Allows Decimal to be type compatible with multiple Decimal.js imports - Resolves: https://github.com/prisma/prisma/issues/16397
This commit is contained in:
parent
25c4a107aa
commit
858501020d
1
decimal.d.ts
vendored
1
decimal.d.ts
vendored
@ -56,7 +56,6 @@ export declare class Decimal {
|
||||
readonly d: number[];
|
||||
readonly e: number;
|
||||
readonly s: number;
|
||||
private readonly toStringTag: string;
|
||||
|
||||
constructor(n: Decimal.Value);
|
||||
|
||||
|
1
decimal.global.d.ts
vendored
1
decimal.global.d.ts
vendored
@ -77,7 +77,6 @@ export declare class Decimal {
|
||||
readonly d: number[];
|
||||
readonly e: number;
|
||||
readonly s: number;
|
||||
private readonly toStringTag: string;
|
||||
|
||||
constructor(n: DecimalValue);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user