@@ -586,7 +586,7 @@ export class GraphQLScalarType {
586586defineToStringTag ( GraphQLScalarType ) ;
587587defineToJSON ( GraphQLScalarType ) ;
588588
589- export type GraphQLScalarTypeConfig < TInternal , TExternal > = {
589+ export type GraphQLScalarTypeConfig < TInternal , TExternal > = { |
590590 name : string ,
591591 description ?: ?string ,
592592 astNode ?: ?ScalarTypeDefinitionNode ,
@@ -596,7 +596,7 @@ export type GraphQLScalarTypeConfig<TInternal, TExternal> = {
596596 valueNode : ValueNode ,
597597 variables : ?ObjMap < mixed > ,
598598 ) => ?TInternal ,
599- } ;
599+ | } ;
600600
601601/**
602602 * Object Type Definition
@@ -765,15 +765,15 @@ function isValidResolver(resolver: mixed): boolean {
765765 return resolver == null || typeof resolver === 'function ';
766766}
767767
768- export type GraphQLObjectTypeConfig < TSource , TContext > = {
768+ export type GraphQLObjectTypeConfig < TSource , TContext > = { |
769769 name : string ,
770770 interfaces ?: Thunk < ?Array < GraphQLInterfaceType >> ,
771771 fields : Thunk < GraphQLFieldConfigMap < TSource , TContext> > ,
772772 isTypeOf ?: ?GraphQLIsTypeOfFn < TSource , TContext> ,
773773 description ?: ?string ,
774774 astNode ?: ?ObjectTypeDefinitionNode ,
775775 extensionASTNodes ?: ?$ReadOnlyArray < ObjectTypeExtensionNode > ,
776- } ;
776+ | } ;
777777
778778export type GraphQLTypeResolver < TSource , TContext > = (
779779 value : TSource ,
@@ -820,24 +820,24 @@ export type GraphQLFieldConfig<
820820 TSource ,
821821 TContext ,
822822 TArgs = { [ argument : string ] : any } ,
823- > = {
823+ > = { |
824824 type : GraphQLOutputType ,
825825 args ?: GraphQLFieldConfigArgumentMap ,
826826 resolve ?: GraphQLFieldResolver < TSource , TContext, TArgs> ,
827827 subscribe ?: GraphQLFieldResolver < TSource , TContext, TArgs> ,
828828 deprecationReason ?: ?string ,
829829 description ?: ?string ,
830830 astNode ?: ?FieldDefinitionNode ,
831- } ;
831+ | } ;
832832
833833export type GraphQLFieldConfigArgumentMap = ObjMap < GraphQLArgumentConfig > ;
834834
835- export type GraphQLArgumentConfig = {
835+ export type GraphQLArgumentConfig = { |
836836 type : GraphQLInputType ,
837837 defaultValue ?: mixed ,
838838 description ?: ?string ,
839839 astNode ?: ?InputValueDefinitionNode ,
840- } ;
840+ | } ;
841841
842842export type GraphQLFieldConfigMap < TSource , TContext > = ObjMap <
843843 GraphQLFieldConfig < TSource , TContext > ,
@@ -931,7 +931,7 @@ export class GraphQLInterfaceType {
931931defineToStringTag ( GraphQLInterfaceType ) ;
932932defineToJSON ( GraphQLInterfaceType ) ;
933933
934- export type GraphQLInterfaceTypeConfig < TSource , TContext > = {
934+ export type GraphQLInterfaceTypeConfig < TSource , TContext > = { |
935935 name : string ,
936936 fields : Thunk < GraphQLFieldConfigMap < TSource , TContext> > ,
937937 /**
@@ -943,7 +943,7 @@ export type GraphQLInterfaceTypeConfig<TSource, TContext> = {
943943 description ?: ?string ,
944944 astNode ?: ?InterfaceTypeDefinitionNode ,
945945 extensionASTNodes ?: ?$ReadOnlyArray < InterfaceTypeExtensionNode > ,
946- } ;
946+ | } ;
947947
948948/**
949949 * Union Type Definition
@@ -1021,7 +1021,7 @@ function defineTypes(
10211021 return types ;
10221022}
10231023
1024- export type GraphQLUnionTypeConfig < TSource , TContext > = {
1024+ export type GraphQLUnionTypeConfig < TSource , TContext > = { |
10251025 name : string ,
10261026 types : Thunk < Array < GraphQLObjectType >> ,
10271027 /**
@@ -1032,7 +1032,7 @@ export type GraphQLUnionTypeConfig<TSource, TContext> = {
10321032 resolveType ?: ?GraphQLTypeResolver < TSource , TContext> ,
10331033 description ?: ?string ,
10341034 astNode ?: ?UnionTypeDefinitionNode ,
1035- } ;
1035+ | } ;
10361036
10371037/**
10381038 * Enum Type Definition
@@ -1152,23 +1152,23 @@ function defineEnumValues(
11521152 } ) ;
11531153}
11541154
1155- export type GraphQLEnumTypeConfig /* <T> */ = {
1155+ export type GraphQLEnumTypeConfig /* <T> */ = { |
11561156 name : string ,
11571157 values : GraphQLEnumValueConfigMap /* <T> */ ,
11581158 description ?: ?string ,
11591159 astNode ?: ?EnumTypeDefinitionNode ,
1160- } ;
1160+ | } ;
11611161
11621162export type GraphQLEnumValueConfigMap /* <T> */ = ObjMap <
11631163 GraphQLEnumValueConfig /* <T> */ ,
11641164> ;
11651165
1166- export type GraphQLEnumValueConfig /* <T> */ = {
1166+ export type GraphQLEnumValueConfig /* <T> */ = { |
11671167 value ?: any /* T */ ,
11681168 deprecationReason ?: ?string ,
11691169 description ?: ?string ,
11701170 astNode ?: ?EnumValueDefinitionNode ,
1171- } ;
1171+ | } ;
11721172
11731173export type GraphQLEnumValue /* <T> */ = {
11741174 name : string ,
@@ -1252,19 +1252,19 @@ export class GraphQLInputObjectType {
12521252defineToStringTag ( GraphQLInputObjectType ) ;
12531253defineToJSON ( GraphQLInputObjectType ) ;
12541254
1255- export type GraphQLInputObjectTypeConfig = {
1255+ export type GraphQLInputObjectTypeConfig = { |
12561256 name : string ,
12571257 fields : Thunk < GraphQLInputFieldConfigMap > ,
12581258 description ?: ?string ,
12591259 astNode ?: ?InputObjectTypeDefinitionNode ,
1260- } ;
1260+ | } ;
12611261
1262- export type GraphQLInputFieldConfig = {
1262+ export type GraphQLInputFieldConfig = { |
12631263 type : GraphQLInputType ,
12641264 defaultValue ?: mixed ,
12651265 description ?: ?string ,
12661266 astNode ?: ?InputValueDefinitionNode ,
1267- } ;
1267+ | } ;
12681268
12691269export type GraphQLInputFieldConfigMap = ObjMap < GraphQLInputFieldConfig > ;
12701270
0 commit comments