MCPcopy 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

1import { queryKey } from '@tanstack/query-test-utils'
2import { describe, expectTypeOf, it } from 'vitest'
3
4import type { OmitKeyof, QueryFunction, UseQueryOptions } from '..'

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