Type Cached Data

Does react-query support defining type for the cached data? So that wherever we fetch or use setQueryData, the type of a specific queryKey is enforced?
Was this page helpful?