TanStackT
TanStack4y ago
43 replies
dry-scarlet

Typescript - pass queryOptions in custom hook to useQuery

How are we supposed to take useQuery's query options as parameter to our custom hooks and pass it down while maintaining proper typescript type information?
Was this page helpful?