({
queryKey: [, n],
})
| 87 | type MyQueryKey = readonly ['my-data', number] |
| 88 | |
| 89 | const getMyDataArrayKey: QueryFunction<MyData, MyQueryKey> = ({ |
| 90 | queryKey: [, n], |
| 91 | }) => { |
| 92 | return Promise.resolve(n + 42) |
| 93 | } |
| 94 | |
| 95 | useQuery({ |
| 96 | queryKey: ['my-data', 100], |
nothing calls this directly
no outgoing calls
no test coverage detected