1
0
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:
Jon Stelly 2022-11-29 22:45:58 -06:00
parent 25c4a107aa
commit 858501020d
No known key found for this signature in database
GPG Key ID: 869C76C600D53D2B
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);