forked from TanStack/query
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(useQuery): let type of queryKey for the QueryContext be inferred …
…from the key passed to useQuery (TanStack#2047) * fix(useQuery): let type of queryKey for the QueryContext be inferred from the key passed to useQuery * fix(useInfiniteQuery): let type of queryKey for the QueryContext be inferred from the key passed to useInfiniteQuery * fix(useQuery): pass TQueryKey down to queryObserver for more type safety and to make queryKeyHashFn generic as well
- Loading branch information
Showing
11 changed files
with
349 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.