(context)
| 93 | })) |
| 94 | |
| 95 | const getMyDataStringKey: QueryFunction<MyData, ['1']> = (context) => { |
| 96 | expectTypeOf(context.queryKey).toEqualTypeOf<['1']>() |
| 97 | return Number(context.queryKey[0]) + 42 |
| 98 | } |
| 99 | |
| 100 | useQuery(() => ({ |
| 101 | queryKey: ['1'] as ['1'], |
nothing calls this directly
no outgoing calls
no test coverage detected