MCPcopy Index your code
hub / github.com/TanStack/query / queryKey

Function queryKey

packages/vue-query/src/__tests__/useQueries.test-d.ts:149–149  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

147 it('should have proper type inference with different options provided', () => {
148 const numbers = [1, 2, 3]
149 const queryKey = (n: number) => [n]
150 const queryFn = (n: number) => () => Promise.resolve(n)
151 const select = (data: number) => data.toString()
152

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…