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

File useQuery.test-d.tsx

packages/solid-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 { queryOptions, useQuery } from '../index'
4import type { OmitKeyof, QueryFunction, UseQueryOptions } from '..'

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected