Skip to content

Commit

Permalink
Merge pull request #26 from vend/update-is-finite
Browse files Browse the repository at this point in the history
Update isFinite Type
  • Loading branch information
aarr0n authored Jan 29, 2020
2 parents ef15190 + ceeebae commit a41b9ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
language: node_js
node_js:
- "6"
- "5"
- "4"
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: number | string | BigNumber): boolean
static isFinite(value: null | number | string | BigNumber): 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: number | string | BigNumber): boolean
export function isFinite(value: null | number | string | BigNumber): boolean
}

0 comments on commit a41b9ca

Please sign in to comment.