Skip to content

Commit

Permalink
Improve type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
leebyron committed Jan 24, 2017
1 parent 15d2184 commit 5b26da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/type/definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ export type GraphQLTypeResolver<TSource, TContext> = (
value: TSource,
context: TContext,
info: GraphQLResolveInfo
) => ?GraphQLObjectType | ?string | ?Promise<?GraphQLObjectType | ?string>;
) => ?GraphQLObjectType | string | Promise<?GraphQLObjectType | string>;

export type GraphQLIsTypeOfFn<TSource, TContext> = (
source: TSource,
Expand Down

0 comments on commit 5b26da9

Please sign in to comment.