Skip to content

Commit

Permalink
fixed tests for esm
Browse files Browse the repository at this point in the history
  • Loading branch information
royNiladri committed Aug 2, 2023
1 parent e64d2dd commit 52778d3
Show file tree
Hide file tree
Showing 19 changed files with 2,064 additions and 1,973 deletions.
12 changes: 6 additions & 6 deletions dist/esm/big-decimal.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { RoundingModes as Modes } from './roundingModes';
import { RoundingModes as Modes } from "./roundingModes";
declare class bigDecimal {
private value;
static RoundingModes: typeof Modes;
private static validate;
constructor(number?: (number | string | bigint));
constructor(number?: number | string | bigint);
getValue(): string;
setValue(num: (number | string | bigint)): void;
static getPrettyValue(number: any, digits: any, separator: any): string;
getPrettyValue(digits: any, separator: any): string;
setValue(num: number | string | bigint): void;
static getPrettyValue(number: any, digits?: number, separator?: string): string;
getPrettyValue(digits?: number, separator?: string): string;
static round(number: any, precision?: number, mode?: Modes): string;
round(precision?: number, mode?: Modes): bigDecimal;
static abs(number: any): string;
Expand All @@ -22,7 +22,7 @@ declare class bigDecimal {
subtract(number: bigDecimal): bigDecimal;
static multiply(number1: any, number2: any): string;
multiply(number: bigDecimal): bigDecimal;
static divide(number1: any, number2: any, precision: any): string;
static divide(number1: any, number2: any, precision?: number): string;
divide(number: bigDecimal, precision: any): bigDecimal;
static modulus(number1: any, number2: any): string;
modulus(number: bigDecimal): bigDecimal;
Expand Down
143 changes: 80 additions & 63 deletions dist/esm/big-decimal.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/esm/big-decimal.js.map

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions dist/node/big-decimal.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { RoundingModes as Modes } from './roundingModes';
import { RoundingModes as Modes } from "./roundingModes";
declare class bigDecimal {
private value;
static RoundingModes: typeof Modes;
private static validate;
constructor(number?: (number | string | bigint));
constructor(number?: number | string | bigint);
getValue(): string;
setValue(num: (number | string | bigint)): void;
static getPrettyValue(number: any, digits: any, separator: any): string;
getPrettyValue(digits: any, separator: any): string;
setValue(num: number | string | bigint): void;
static getPrettyValue(number: any, digits?: number, separator?: string): string;
getPrettyValue(digits?: number, separator?: string): string;
static round(number: any, precision?: number, mode?: Modes): string;
round(precision?: number, mode?: Modes): bigDecimal;
static abs(number: any): string;
Expand All @@ -22,7 +22,7 @@ declare class bigDecimal {
subtract(number: bigDecimal): bigDecimal;
static multiply(number1: any, number2: any): string;
multiply(number: bigDecimal): bigDecimal;
static divide(number1: any, number2: any, precision: any): string;
static divide(number1: any, number2: any, precision?: number): string;
divide(number: bigDecimal, precision: any): bigDecimal;
static modulus(number1: any, number2: any): string;
modulus(number: bigDecimal): bigDecimal;
Expand All @@ -31,4 +31,4 @@ declare class bigDecimal {
static negate(number: any): string;
negate(): bigDecimal;
}
export = bigDecimal;
export default bigDecimal;
Loading

0 comments on commit 52778d3

Please sign in to comment.