From: Eduardo San Martin Morote Date: Wed, 29 Oct 2025 13:35:39 +0000 (+0100) Subject: refactor: unknwonr instead of any X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f32602cd4519ed833dc14785d18e66ab62e4de2;p=thirdparty%2Fvuejs%2Frouter.git refactor: unknwonr instead of any --- 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,