You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i was trying to you this nice framework with Infinite Queries, and i was referring one of already answered question regarding it and it gives a error
No overload matches this call.
Overload 3 of 3, '(options: UseInfiniteQueryOptions<NotificationResponse, Error, InfiniteData<NotificationResponse, unknown>, NotificationResponse, readonly [...], never>, queryClient?: QueryClient | undefined): UseInfiniteQueryResult<...>', gave the following error.
Type 'number' is not assignable to type 'never'.
Overload 3 of 3, '(options: UseInfiniteQueryOptions<NotificationResponse, Error, InfiniteData<NotificationResponse, unknown>, NotificationResponse, readonly [...], never>, queryClient?: QueryClient | undefined): UseInfiniteQueryResult<...>', gave the following error.
Type 'number | undefined' is not assignable to type 'null | undefined'.
Type 'number' is not assignable to type 'null | undefined'.ts(2769)
hydration-ClXcjjG9.d.ts(616, 5): The expected type comes from property 'initialPageParam' which is declared here on type 'UseInfiniteQueryOptions<NotificationResponse, Error, InfiniteData<NotificationResponse, unknown>, NotificationResponse, readonly [...], never>'
hydration-ClXcjjG9.d.ts(563, 69): The expected type comes from the return type of this signature.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, i was trying to you this nice framework with Infinite Queries, and i was referring one of already answered question regarding it and it gives a error
Error:
No overload matches this call.
Overload 3 of 3, '(options: UseInfiniteQueryOptions<NotificationResponse, Error, InfiniteData<NotificationResponse, unknown>, NotificationResponse, readonly [...], never>, queryClient?: QueryClient | undefined): UseInfiniteQueryResult<...>', gave the following error.
Type 'number' is not assignable to type 'never'.
Overload 3 of 3, '(options: UseInfiniteQueryOptions<NotificationResponse, Error, InfiniteData<NotificationResponse, unknown>, NotificationResponse, readonly [...], never>, queryClient?: QueryClient | undefined): UseInfiniteQueryResult<...>', gave the following error.
Type 'number | undefined' is not assignable to type 'null | undefined'.
Type 'number' is not assignable to type 'null | undefined'.ts(2769)
hydration-ClXcjjG9.d.ts(616, 5): The expected type comes from property 'initialPageParam' which is declared here on type 'UseInfiniteQueryOptions<NotificationResponse, Error, InfiniteData<NotificationResponse, unknown>, NotificationResponse, readonly [...], never>'
hydration-ClXcjjG9.d.ts(563, 69): The expected type comes from the return type of this signature.
Beta Was this translation helpful? Give feedback.
All reactions