From 1f32602cd4519ed833dc14785d18e66ab62e4de2 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Wed, 29 Oct 2025 14:35:39 +0100 Subject: [PATCH] refactor: unknwonr instead of any --- packages/router/src/utils/index.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/router/src/utils/index.ts b/packages/router/src/utils/index.ts index b9cf4f72..2bcf485e 100644 --- a/packages/router/src/utils/index.ts +++ b/packages/router/src/utils/index.ts @@ -64,9 +64,12 @@ export const noop = () => {} /** * Typesafe alternative to Array.isArray * https://github.com/microsoft/TypeScript/pull/48228 + * + * @internal */ -export const isArray: (arg: ArrayLike | any) => arg is ReadonlyArray = - Array.isArray +export const isArray: ( + arg: ArrayLike | unknown +) => arg is ReadonlyArray = Array.isArray export function mergeOptions( defaults: T, -- 2.47.3