diff --git a/core/src/utils/coerce.ts b/core/src/utils/coerce.ts index c307b848..b0f11691 100644 --- a/core/src/utils/coerce.ts +++ b/core/src/utils/coerce.ts @@ -11,5 +11,5 @@ export function coerceNumber(value: any, fallbackValue = 0) { } function isNumberValue(value: any): boolean { - return !isNaN(parseFloat(value as any)) && !isNaN(Number(value)); + return !isNaN(parseFloat(value)) && !isNaN(Number(value)); }