Skip to content

Commit

Permalink
Add hasNext to query-state
Browse files Browse the repository at this point in the history
  • Loading branch information
isy committed Nov 6, 2024
1 parent 9c561f3 commit 783bcc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/next-urql/src/useQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ export interface UseQueryState<
data?: Data;
/** The {@link OperationResult.error} for the executed query. */
error?: CombinedError;
/** The {@link OperationResult.hasNext} for the executed query. */
hasNext: boolean;
/** The {@link OperationResult.extensions} for the executed query. */
extensions?: Record<string, any>;
/** The {@link Operation} that the current state is for.
Expand Down

0 comments on commit 783bcc4

Please sign in to comment.