@@ -73,19 +73,19 @@ export type ConnectionArguments = {
7373 ...
7474} ;
7575
76- type ConnectionConfig = { |
76+ type ConnectionConfig = {
7777 name ?: string ,
7878 nodeType : GraphQLNamedType | GraphQLNonNull < GraphQLNamedType > ,
7979 resolveNode ? : GraphQLFieldResolver < any , any> ,
8080 resolveCursor ?: GraphQLFieldResolver < any , any> ,
8181 edgeFields ?: Thunk < GraphQLFieldConfigMap < any , any> > ,
8282 connectionFields ?: Thunk < GraphQLFieldConfigMap < any , any> > ,
83- | } ;
83+ } ;
8484
85- type GraphQLConnectionDefinitions = { |
85+ type GraphQLConnectionDefinitions = {
8686 edgeType : GraphQLObjectType ,
8787 connectionType : GraphQLObjectType ,
88- | } ;
88+ } ;
8989
9090function resolveMaybeThunk < T > (thingOrThunk: Thunk< T > ): T {
9191 return typeof thingOrThunk === 'function'
@@ -143,18 +143,18 @@ export function connectionDefinitions(
143143/**
144144 * A type designed to be exposed as a `Connection` over GraphQL.
145145 */
146- export type Connection < T > = { |
146+ export type Connection < T > = {
147147 edges : Array < Edge < T >> ,
148148 pageInfo : PageInfo ,
149- | } ;
149+ } ;
150150
151151/**
152152 * A type designed to be exposed as a `Edge` over GraphQL.
153153 */
154- export type Edge< T > = { |
154+ export type Edge< T > = {
155155 node : T ,
156156 cursor : ConnectionCursor ,
157- | } ;
157+ } ;
158158
159159/**
160160 * The common page info type used by all connections.
@@ -185,9 +185,9 @@ const pageInfoType = new GraphQLObjectType({
185185/**
186186 * A type designed to be exposed as `PageInfo` over GraphQL.
187187 */
188- export type PageInfo = { |
188+ export type PageInfo = {
189189 startCursor : ConnectionCursor | null ,
190190 endCursor : ConnectionCursor | null ,
191191 hasPreviousPage : boolean ,
192192 hasNextPage : boolean ,
193- | } ;
193+ } ;
0 commit comments