Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ useQuery.test-d.tsx
File
useQuery.test-d.tsx
packages/preact-query/src/__tests__/useQuery.test-d.tsx:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import { queryKey } from
'@tanstack/query-test-utils'
2
import { describe, expectTypeOf, it } from
'vitest'
3
4
import type { OmitKeyof, QueryFunction, UseQueryOptions } from
'..'
Callers
nothing calls this directly
Calls
7
queryKey
Function · 0.90
useQuery
Function · 0.90
queryOptions
Function · 0.90
queryFn
Function · 0.70
useWrappedQuery
Function · 0.70
useWrappedFuncStyleQuery
Function · 0.70
useCustomQuery
Function · 0.70
Tested by
no test coverage detected