Skip to content

Commit 5b26da9

Browse files
committed
Improve type definitions
1 parent 15d2184 commit 5b26da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/type/definition.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ export type GraphQLTypeResolver<TSource, TContext> = (
563563
value: TSource,
564564
context: TContext,
565565
info: GraphQLResolveInfo
566-
) => ?GraphQLObjectType | ?string | ?Promise<?GraphQLObjectType | ?string>;
566+
) => ?GraphQLObjectType | string | Promise<?GraphQLObjectType | string>;
567567

568568
export type GraphQLIsTypeOfFn<TSource, TContext> = (
569569
source: TSource,

0 commit comments

Comments
 (0)