Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9f9b9d2

Browse files
committedAug 28, 2024·
any is bad
1 parent 783fac7 commit 9f9b9d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/shared/cache-types.cts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export const isCachedRouteValue = (
118118
): value is CachedRouteValueForMultipleVersions =>
119119
value.kind === 'ROUTE' || value.kind === 'APP_ROUTE'
120120

121-
type MapArgsOrReturn<T> = T extends readonly any[]
121+
type MapArgsOrReturn<T> = T extends readonly unknown[]
122122
? { [K in keyof T]: MapArgsOrReturn<T[K]> }
123123
: T extends Promise<infer P>
124124
? Promise<MapArgsOrReturn<P>>

0 commit comments

Comments
 (0)
Please sign in to comment.