Skip to content

Commit 7f34d22

Browse files
committed
fix: Connection config nodetype
1 parent 1723186 commit 7f34d22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/connection/connection.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
} from 'graphql';
1010

1111
import type {
12-
GraphQLNamedType,
12+
GraphQLOutputType,
1313
GraphQLFieldConfigArgumentMap,
1414
GraphQLFieldConfigMap,
1515
GraphQLFieldResolver,
@@ -75,7 +75,7 @@ export type ConnectionArguments = {
7575

7676
type ConnectionConfig = {
7777
name?: string,
78-
nodeType: GraphQLNamedType | GraphQLNonNull<GraphQLNamedType>,
78+
nodeType: GraphQLOutputType,
7979
resolveNode?: GraphQLFieldResolver<any, any>,
8080
resolveCursor?: GraphQLFieldResolver<any, any>,
8181
edgeFields?: Thunk<GraphQLFieldConfigMap<any, any>>,

0 commit comments

Comments
 (0)