Skip to content

Commit

Permalink
Merge pull request #42 from vend/fix-is-finite
Browse files Browse the repository at this point in the history
Allow isFinite to accept any
  • Loading branch information
edsrzf authored Sep 25, 2023
2 parents acef47c + ac4d821 commit f0b5112
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ declare module 'vend-number' {
static multiply(...values: Stringable[]): number
static divide(...values: Stringable[]): number
static sumBy<T, K extends keyof T>(collection: T[], property: K, decimalPoints: number): string
static isFinite(value: null | number | string | BigNumber): boolean
static isFinite(value: any): boolean
}

export function vn(value?: Stringable): VendNumber
Expand All @@ -74,5 +74,5 @@ declare module 'vend-number' {
export function multiply(...values: Stringable[]): number
export function divide(...values: Stringable[]): number
export function sumBy<T, K extends keyof T>(collection: T[], property: K, decimalPoints: number): string
export function isFinite(value: null | number | string | BigNumber): boolean
export function isFinite(value: any): boolean
}

0 comments on commit f0b5112

Please sign in to comment.