Skip to content

Commit

Permalink
Use defined ROUNDING_MODES within VendNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
aarr0n committed Nov 6, 2023
1 parent b6ceff7 commit be8d196
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,7 @@ declare module 'vend-number' {
export default class VendNumber extends BigNumber {
constructor (value?: Stringable)

static readonly ROUNDING_MODES: {
ROUND_UP: RoundingMode,
ROUND_DOWN: RoundingMode,
ROUND_CEIL: RoundingMode,
ROUND_FLOOR: RoundingMode,
ROUND_HALF_UP: RoundingMode,
ROUND_HALF_DOWN: RoundingMode,
ROUND_HALF_EVEN: RoundingMode,
ROUND_HALF_CEIL: RoundingMode,
ROUND_HALF_FLOOR: RoundingMode
}
static readonly ROUNDING_MODES: typeof ROUNDING_MODES

static vn(value?: Stringable): VendNumber
static round(value?: Stringable, decimalPoints?: number, roundingMode?: RoundingMode): string
Expand Down

0 comments on commit be8d196

Please sign in to comment.