diff --git a/src/lib/utility/package/type-guards.ts b/src/lib/utility/package/type-guards.ts index e537435..4f0fc73 100644 --- a/src/lib/utility/package/type-guards.ts +++ b/src/lib/utility/package/type-guards.ts @@ -1,7 +1,7 @@ -export function isBoolean(value: any): value is boolean { +export function isBoolean(value: unknown): value is boolean { return typeof value === 'boolean'; } -export function isNumber(value: any): value is number { +export function isNumber(value: unknown): value is number { return typeof value === 'number' && !isNaN(value); }