Skip to content

Commit

Permalink
Make TVariables and TContext optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenn Creighton committed Apr 2, 2021
1 parent 008a92e commit 97f13ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/watchQueryOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ export interface MutationBaseOptions<

export interface MutationOptions<
T,
TVariables extends OperationVariables,
TContext extends Context,
TVariables extends OperationVariables = OperationVariables,
TContext extends Context = Context,
> extends MutationBaseOptions<T, TVariables, TContext> {
/**
* A GraphQL document, often created with `gql` from the `graphql-tag`
Expand Down

0 comments on commit 97f13ac

Please sign in to comment.