We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 783fac7 commit 9f9b9d2Copy full SHA for 9f9b9d2
src/shared/cache-types.cts
@@ -118,7 +118,7 @@ export const isCachedRouteValue = (
118
): value is CachedRouteValueForMultipleVersions =>
119
value.kind === 'ROUTE' || value.kind === 'APP_ROUTE'
120
121
-type MapArgsOrReturn<T> = T extends readonly any[]
+type MapArgsOrReturn<T> = T extends readonly unknown[]
122
? { [K in keyof T]: MapArgsOrReturn<T[K]> }
123
: T extends Promise<infer P>
124
? Promise<MapArgsOrReturn<P>>
0 commit comments