From ac4d821c49705558bcf95affe8f1338d4bdbec93 Mon Sep 17 00:00:00 2001 From: Evan Shaw Date: Tue, 26 Sep 2023 10:02:54 +1300 Subject: [PATCH] Allow isFinite to accept any --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 1d60c0d..ffb69cc 100644 --- a/index.d.ts +++ b/index.d.ts @@ -64,7 +64,7 @@ declare module 'vend-number' { static multiply(...values: Stringable[]): number static divide(...values: Stringable[]): number static sumBy(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 @@ -74,5 +74,5 @@ declare module 'vend-number' { export function multiply(...values: Stringable[]): number export function divide(...values: Stringable[]): number export function sumBy(collection: T[], property: K, decimalPoints: number): string - export function isFinite(value: null | number | string | BigNumber): boolean + export function isFinite(value: any): boolean }