1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Michael Mclaughlin
7f01abd83d v10.4.3 2022-12-04 13:02:11 +00:00
Michael M
0f148f9787
Merge pull request #211 from jon-ressio/feature/no-toStringTag
Remove toStringTag declaration for type compatibility
2022-12-04 12:56:21 +00:00
Jon Stelly
858501020d
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
2022-11-29 22:45:58 -06:00
6 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,7 @@
#### 10.4.3
* 04/12/2022
* #211 Remove `toStringTag` declaration for type compatibility.
#### 10.4.2 #### 10.4.2
* 12/10/2022 * 12/10/2022
* #209 Correct return type. * #209 Correct return type.

1
decimal.d.ts vendored
View File

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

1
decimal.global.d.ts vendored
View File

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

View File

@ -3,7 +3,7 @@
/*! /*!
* decimal.js v10.4.2 * decimal.js v10.4.3
* An arbitrary-precision Decimal type for JavaScript. * An arbitrary-precision Decimal type for JavaScript.
* https://github.com/MikeMcl/decimal.js * https://github.com/MikeMcl/decimal.js
* Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com> * Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>

View File

@ -1,5 +1,5 @@
/*! /*!
* decimal.js v10.4.2 * decimal.js v10.4.3
* An arbitrary-precision Decimal type for JavaScript. * An arbitrary-precision Decimal type for JavaScript.
* https://github.com/MikeMcl/decimal.js * https://github.com/MikeMcl/decimal.js
* Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com> * Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>

View File

@ -1,7 +1,7 @@
{ {
"name": "decimal.js", "name": "decimal.js",
"description": "An arbitrary-precision Decimal type for JavaScript.", "description": "An arbitrary-precision Decimal type for JavaScript.",
"version": "10.4.2", "version": "10.4.3",
"keywords": [ "keywords": [
"arbitrary", "arbitrary",
"precision", "precision",