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
In the example above, adding the refetchIntervalhihi option does not cause a type warning.
Invalid queryOptions such as hihi are omitted and no error occurs at runtime, making it safe.
However, I think it can cause confusion because it does not work even though I entered a valid option in react-query. is there a reason not to perform strict type checking for queryOption, which is currently not supported, including the refetchInterval option?
The text was updated successfully, but these errors were encountered:
Currently, queryOptions except
'queryKey' | 'queryFn' | 'contextQueries'
are omitted.In the example above, adding the
refetchInterval
hihi
option does not cause a type warning.Invalid queryOptions such as hihi are omitted and no error occurs at runtime, making it safe.
However, I think it can cause confusion because it does not work even though I entered a valid option in react-query. is there a reason not to perform strict type checking for queryOption, which is currently not supported, including the refetchInterval option?
The text was updated successfully, but these errors were encountered: