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
pull/211/head
Jon Stelly 1 year ago
parent 25c4a107aa
commit 858501020d
No known key found for this signature in database
GPG Key ID: 869C76C600D53D2B

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);

@ -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…
Cancel
Save