({
queryKey: [, n],
})
| 82 | type MyQueryKey = readonly ['my-data', number] |
| 83 | |
| 84 | const getMyDataArrayKey: QueryFunction<MyData, MyQueryKey> = ({ |
| 85 | queryKey: [, n], |
| 86 | }) => { |
| 87 | return n + 42 |
| 88 | } |
| 89 | |
| 90 | useQuery(() => ({ |
| 91 | queryKey: ['my-data', 100] as const, |
nothing calls this directly
no outgoing calls
no test coverage detected