@@ -447,7 +447,7 @@ function createVisitor(
447
447
selectionsToAST (
448
448
schema ,
449
449
/* $FlowFixMe: selections have already been transformed */
450
- ( node . selections as any ) as ReadonlyArray < ReadonlyArray < Selection > > ,
450
+ node . selections as any as ReadonlyArray < ReadonlyArray < Selection > > ,
451
451
state ,
452
452
false
453
453
)
@@ -521,7 +521,7 @@ function createVisitor(
521
521
Fragment ( node ) {
522
522
const flattenedSelections : Selection [ ] = flattenArray (
523
523
/* $FlowFixMe: selections have already been transformed */
524
- ( node . selections as any ) as ReadonlyArray < ReadonlyArray < Selection > >
524
+ node . selections as any as ReadonlyArray < ReadonlyArray < Selection > >
525
525
) ;
526
526
const numConcreteSelections = flattenedSelections . filter (
527
527
( s ) => s . concreteType
@@ -605,7 +605,7 @@ function createVisitor(
605
605
InlineFragment ( node ) {
606
606
return flattenArray (
607
607
/* $FlowFixMe: selections have already been transformed */
608
- ( node . selections as any ) as ReadonlyArray < ReadonlyArray < Selection > >
608
+ node . selections as any as ReadonlyArray < ReadonlyArray < Selection > >
609
609
) . map ( ( typeSelection ) => {
610
610
return schema . isAbstractType ( node . typeCondition )
611
611
? {
@@ -621,7 +621,7 @@ function createVisitor(
621
621
Condition ( node : Condition ) {
622
622
return flattenArray (
623
623
/* $FlowFixMe: selections have already been transformed */
624
- ( node . selections as any ) as ReadonlyArray < ReadonlyArray < Selection > >
624
+ node . selections as any as ReadonlyArray < ReadonlyArray < Selection > >
625
625
) . map ( ( selection ) => {
626
626
return {
627
627
...selection ,
@@ -692,7 +692,7 @@ function visitLinkedField(node: LinkedField) {
692
692
nodeSelections : selectionsToMap (
693
693
flattenArray (
694
694
/* $FlowFixMe: selections have already been transformed */
695
- ( node . selections as any ) as ReadonlyArray < ReadonlyArray < Selection > >
695
+ node . selections as any as ReadonlyArray < ReadonlyArray < Selection > >
696
696
) ,
697
697
/*
698
698
* append concreteType to key so overlapping fields with different
@@ -879,7 +879,7 @@ function createRawResponseTypeVisitor(
879
879
selectionsToRawResponseBabel (
880
880
schema ,
881
881
/* $FlowFixMe: selections have already been transformed */
882
- ( node . selections as any ) as ReadonlyArray < ReadonlyArray < Selection > > ,
882
+ node . selections as any as ReadonlyArray < ReadonlyArray < Selection > > ,
883
883
state ,
884
884
null
885
885
)
@@ -890,7 +890,7 @@ function createRawResponseTypeVisitor(
890
890
891
891
return flattenArray (
892
892
/* $FlowFixMe: selections have already been transformed */
893
- ( node . selections as any ) as ReadonlyArray < ReadonlyArray < Selection > >
893
+ node . selections as any as ReadonlyArray < ReadonlyArray < Selection > >
894
894
) . map ( ( typeSelection ) => {
895
895
return schema . isAbstractType ( typeCondition )
896
896
? typeSelection
@@ -906,7 +906,7 @@ function createRawResponseTypeVisitor(
906
906
ClientExtension ( node ) {
907
907
return flattenArray (
908
908
/* $FlowFixMe: selections have already been transformed */
909
- ( node . selections as any ) as ReadonlyArray < ReadonlyArray < Selection > >
909
+ node . selections as any as ReadonlyArray < ReadonlyArray < Selection > >
910
910
) . map ( ( sel ) => ( {
911
911
...sel ,
912
912
conditional : true ,
@@ -916,19 +916,19 @@ function createRawResponseTypeVisitor(
916
916
Condition ( node ) {
917
917
return flattenArray (
918
918
/* $FlowFixMe: selections have already been transformed */
919
- ( node . selections as any ) as ReadonlyArray < ReadonlyArray < Selection > >
919
+ node . selections as any as ReadonlyArray < ReadonlyArray < Selection > >
920
920
) ;
921
921
} ,
922
922
Defer ( node ) {
923
923
return flattenArray (
924
924
/* $FlowFixMe: selections have already been transformed */
925
- ( node . selections as any ) as ReadonlyArray < ReadonlyArray < Selection > >
925
+ node . selections as any as ReadonlyArray < ReadonlyArray < Selection > >
926
926
) ;
927
927
} ,
928
928
Stream ( node ) {
929
929
return flattenArray (
930
930
/* $FlowFixMe: selections have already been transformed */
931
- ( node . selections as any ) as ReadonlyArray < ReadonlyArray < Selection > >
931
+ node . selections as any as ReadonlyArray < ReadonlyArray < Selection > >
932
932
) ;
933
933
} ,
934
934
ModuleImport ( node ) {
0 commit comments