(context)
| 99 | })) |
| 100 | |
| 101 | const getMyDataStringKey: QueryFunction<MyData, ['1']> = (context) => { |
| 102 | expectTypeOf(context.queryKey).toEqualTypeOf<['1']>() |
| 103 | return Number(context.queryKey[0]) + 42 |
| 104 | } |
| 105 | |
| 106 | useQuery(() => ({ |
| 107 | queryKey: ['1'] as ['1'], |
nothing calls this directly
no outgoing calls
no test coverage detected