Skip to content

Commit

Permalink
fix(types): Make mergeInfo optional
Browse files Browse the repository at this point in the history
mergeInfo should be marked as optional on IFieldResolver info
  • Loading branch information
maticzav committed Sep 4, 2018
2 parents 47a60fa + c7f747a commit 901f499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,5 @@ export type IFieldResolver<TSource, TContext> = (
source: TSource,
args: { [argument: string]: any },
context: TContext,
info: GraphQLResolveInfo & { mergeInfo: MergeInfo },
info: GraphQLResolveInfo & { mergeInfo?: MergeInfo },
) => any

0 comments on commit 901f499

Please sign in to comment.