MCPcopy
hub / github.com/TanStack/query / useQuery.test-d.tsx

File useQuery.test-d.tsx

packages/react-query/src/__tests__/useQuery.test-d.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expectTypeOf, it } from 'vitest'
2import { queryKey } from '@tanstack/query-test-utils'
3import { useQuery } from '../useQuery'
4import { queryOptions } from '../queryOptions'

Callers

nothing calls this directly

Calls 7

queryKeyFunction · 0.90
useQueryFunction · 0.90
queryOptionsFunction · 0.90
queryFnFunction · 0.70
useWrappedQueryFunction · 0.70
useWrappedFuncStyleQueryFunction · 0.70
useCustomQueryFunction · 0.70

Tested by

no test coverage detected