@@ -895,7 +895,7 @@ export type GraphQLField<
895
895
TSource,
896
896
TContext,
897
897
TArgs = { [ argument : string ] : any , ... } ,
898
- > = {
898
+ > = { |
899
899
name : string ,
900
900
description : ?string ,
901
901
type : GraphQLOutputType ,
@@ -905,17 +905,15 @@ export type GraphQLField<
905
905
isDeprecated ?: boolean ,
906
906
deprecationReason ?: ?string ,
907
907
astNode ?: ?FieldDefinitionNode ,
908
- ...
909
- } ;
908
+ | } ;
910
909
911
- export type GraphQLArgument = {
910
+ export type GraphQLArgument = { |
912
911
name : string ,
913
912
type : GraphQLInputType ,
914
913
defaultValue ?: mixed ,
915
914
description ?: ?string ,
916
915
astNode ?: ?InputValueDefinitionNode ,
917
- ...
918
- } ;
916
+ | } ;
919
917
920
918
export function isRequiredArgument ( arg : GraphQLArgument ) : boolean % checks {
921
919
return isNonNullType ( arg . type ) && arg . defaultValue === undefined ;
@@ -1273,15 +1271,14 @@ export type GraphQLEnumValueConfig /* <T> */ = {|
1273
1271
astNode ?: ?EnumValueDefinitionNode ,
1274
1272
| } ;
1275
1273
1276
- export type GraphQLEnumValue /* <T> */ = {
1274
+ export type GraphQLEnumValue /* <T> */ = { |
1277
1275
name : string ,
1278
1276
description : ?string ,
1279
1277
isDeprecated ?: boolean ,
1280
1278
deprecationReason : ?string ,
1281
1279
astNode ?: ?EnumValueDefinitionNode ,
1282
1280
value : any /* T */ ,
1283
- ...
1284
- } ;
1281
+ | } ;
1285
1282
1286
1283
/**
1287
1284
* Input Object Type Definition
@@ -1392,14 +1389,13 @@ export type GraphQLInputFieldConfig = {|
1392
1389
1393
1390
export type GraphQLInputFieldConfigMap = ObjMap < GraphQLInputFieldConfig > ;
1394
1391
1395
- export type GraphQLInputField = {
1392
+ export type GraphQLInputField = { |
1396
1393
name : string ,
1397
1394
type : GraphQLInputType ,
1398
1395
defaultValue ?: mixed ,
1399
1396
description ?: ?string ,
1400
1397
astNode ?: ?InputValueDefinitionNode ,
1401
- ...
1402
- } ;
1398
+ | } ;
1403
1399
1404
1400
export function isRequiredInputField (
1405
1401
field : GraphQLInputField ,
0 commit comments