We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 090092d commit 1f32602Copy full SHA for 1f32602
packages/router/src/utils/index.ts
@@ -64,9 +64,12 @@ export const noop = () => {}
64
/**
65
* Typesafe alternative to Array.isArray
66
* https://github.com/microsoft/TypeScript/pull/48228
67
+ *
68
+ * @internal
69
*/
-export const isArray: (arg: ArrayLike<any> | any) => arg is ReadonlyArray<any> =
- Array.isArray
70
+export const isArray: (
71
+ arg: ArrayLike<any> | unknown
72
+) => arg is ReadonlyArray<any> = Array.isArray
73
74
export function mergeOptions<T extends object>(
75
defaults: T,
0 commit comments