File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -594,9 +594,7 @@ export function extendSchemaImpl(
594
594
// values below, that would throw immediately while type system
595
595
// validation with validateSchema() will produce more actionable results.
596
596
// @ts -expect-error
597
- return nodes . flatMap (
598
- ( node ) => node . interfaces ?. map ( getNamedType ) ?? [ ] ,
599
- ) ;
597
+ return nodes . flatMap ( ( node ) => node . interfaces ?. map ( getNamedType ) ?? [ ] ) ;
600
598
}
601
599
602
600
function buildUnionTypes (
@@ -606,9 +604,7 @@ export function extendSchemaImpl(
606
604
// values below, that would throw immediately while type system
607
605
// validation with validateSchema() will produce more actionable results.
608
606
// @ts -expect-error
609
- return nodes . flatMap (
610
- ( node ) => node . types ?. map ( getNamedType ) ?? [ ] ,
611
- ) ;
607
+ return nodes . flatMap ( ( node ) => node . types ?. map ( getNamedType ) ?? [ ] ) ;
612
608
}
613
609
614
610
function buildType ( astNode : TypeDefinitionNode ) : GraphQLNamedType {
You can’t perform that action at this time.
0 commit comments