1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2026-03-02 03:49:24 +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:
Jon Stelly
2022-11-29 22:45:58 -06:00
parent 25c4a107aa
commit 858501020d
2 changed files with 0 additions and 2 deletions

1
decimal.d.ts vendored
View File

@@ -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
View File

@@ -77,7 +77,6 @@ export declare class Decimal {
readonly d: number[];
readonly e: number;
readonly s: number;
private readonly toStringTag: string;
constructor(n: DecimalValue);