Skip to content

Commit

Permalink
fix(react-query): resolve overload matches error with exactOptionalPr…
Browse files Browse the repository at this point in the history
…opertyTypes in queryOptions (#8186)
  • Loading branch information
gwansikk authored Oct 15, 2024
1 parent 1adaf3f commit 6c06781
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-query/src/infiniteQueryOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export type UnusedSkipTokenInfiniteOptions<
TQueryKey,
TPageParam
>['queryFn'],
SkipToken
SkipToken | undefined
>
}

Expand Down
2 changes: 1 addition & 1 deletion packages/react-query/src/queryOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export type UnusedSkipTokenOptions<
> & {
queryFn?: Exclude<
UseQueryOptions<TQueryFnData, TError, TData, TQueryKey>['queryFn'],
SkipToken
SkipToken | undefined
>
}

Expand Down

0 comments on commit 6c06781

Please sign in to comment.