Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Commit

Permalink
Make options optional in fetchMore()
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Demedes committed Oct 16, 2019
1 parent bf171e8 commit a75ad33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/useQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default <T>(
isLoading: boolean;
error: NetworkError | GraphQLError | null;
refetch: () => Promise<void>;
fetchMore: (variables: object, options: FetchMoreOptions) => Promise<void>;
fetchMore: (variables: object, options?: FetchMoreOptions) => Promise<void>;
isFetchingMore: boolean;
} => {
const client = useDraqulaClient();
Expand Down

0 comments on commit a75ad33

Please sign in to comment.