(_variables: Variables)
| 12 | const key = uniqueKey() |
| 13 | const variables = { id: 1 } |
| 14 | const fetcher = (_variables: Variables): Promise<Response> => { |
| 15 | return fetch(`/test`).then(res => res.json()) |
| 16 | } |
| 17 | const initialPageParam = 1 |
| 18 | const getNextPageParam = (lastPage: Response) => lastPage.nextCursor |
| 19 | const useGeneratedQuery = createInfiniteQuery<Response, Variables, Error>({ |
nothing calls this directly
no outgoing calls
no test coverage detected