Skip to content

Commit

Permalink
fix(types): mergeInfo should be marked as optional on IFieldResolver …
Browse files Browse the repository at this point in the history
…info
  • Loading branch information
JCMais committed Sep 3, 2018
1 parent 47a60fa commit c7f747a
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 c7f747a

Please sign in to comment.