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

File useQuery.test-d.ts

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

Source from the content-addressed store, hash-verified

1import { describe, expectTypeOf, it } from 'vitest'
2import { computed, reactive, ref } from 'vue-demi'
3import { sleep } from '@tanstack/query-test-utils'
4import { queryOptions, useQuery } from '..'

Callers

nothing calls this directly

Calls 4

sleepFunction · 0.90
useCustomQueryFunction · 0.70
useQueryFunction · 0.50
queryOptionsFunction · 0.50

Tested by

no test coverage detected