TanStackT
TanStack2y ago
12 replies
clean-aquamarine

Why no TS useQuery type?

Hello,
In the useQuery docs, there is a pretty explicit return data object definition (data, dataUpdatedAt, error, errorUpdatedAt, failureCount, etc...). Why is it not available to define in my code? (I keep reading complicated stuff about generics)...
Was this page helpful?