Skip to content

Commit

Permalink
fix: make the context argument partial
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Mar 7, 2021
1 parent e106022 commit 9ecaca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/villus/src/useQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Operation } from '../../shared/src';
interface QueryCompositeOptions<TData, TVars> {
query: MaybeReactive<Operation<TData, TVars>['query']>;
variables?: MaybeReactive<TVars>;
context?: MaybeReactive<QueryExecutionContext>;
context?: MaybeReactive<Partial<QueryExecutionContext>>;
cachePolicy?: CachePolicy;
fetchOnMount?: boolean;
}
Expand Down

0 comments on commit 9ecaca7

Please sign in to comment.