File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ function dehydrateMutation(mutation: Mutation): DehydratedMutation {
7373}
7474
7575function isInfiniteQuery ( query : Query ) : boolean {
76- const options = query . options as any
76+ const options = query . options
7777 return 'initialPageParam' in options
7878}
7979
@@ -255,14 +255,14 @@ export function hydrate(
255255 } )
256256 }
257257 } else {
258- const queryOptions : any = {
258+ const queryOptions = {
259259 ...client . getDefaultOptions ( ) . hydrate ?. queries ,
260260 ...options ?. defaultOptions ?. queries ,
261261 queryKey,
262262 queryHash,
263263 meta,
264264 behavior : queryType === 'infiniteQuery'
265- ? ( infiniteQueryBehavior ( ) as QueryBehavior < unknown , unknown , unknown > )
265+ ? ( infiniteQueryBehavior ( ) as QueryBehavior < unknown , DefaultError , unknown > )
266266 : undefined ,
267267 }
268268
You can’t perform that action at this time.
0 commit comments