From 858501020d009bdd15d41879cc329ee3b52b07b8 Mon Sep 17 00:00:00 2001 From: Jon Stelly <114938161+jon-ressio@users.noreply.github.com> Date: Tue, 29 Nov 2022 22:45:58 -0600 Subject: [PATCH] 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 --- decimal.d.ts | 1 - decimal.global.d.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/decimal.d.ts b/decimal.d.ts index 67256b0..0fbc7b2 100644 --- a/decimal.d.ts +++ b/decimal.d.ts @@ -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); diff --git a/decimal.global.d.ts b/decimal.global.d.ts index f1683b3..6b28256 100644 --- a/decimal.global.d.ts +++ b/decimal.global.d.ts @@ -77,7 +77,6 @@ export declare class Decimal { readonly d: number[]; readonly e: number; readonly s: number; - private readonly toStringTag: string; constructor(n: DecimalValue);