@@ -37,9 +37,9 @@ export abstract class AbstractField<
3737 readonly name : Name ;
3838
3939 readonly isArray ?: ArrayExpected ;
40-
40+
4141 readonly tag : keyof FieldDescendantStore < any , any , any > = 'AbstractField' ;
42-
42+
4343 alias = '' ;
4444
4545 children : Array < InlineFragment < any , any > | Field < any , any , any > > = [ ] ;
@@ -67,7 +67,7 @@ export abstract class AbstractField<
6767 */
6868 setAlias < Alias extends string > ( alias : Alias ) : HigherKindType <
6969 this[ 'tag' ] ,
70- Alias ,
70+ Alias ,
7171 FieldReturnType ,
7272 ArrayExpected
7373 > {
@@ -90,7 +90,7 @@ export abstract class AbstractField<
9090 NewFieldName extends string ,
9191 NewFieldType extends any
9292 > (
93- field : NewFieldName ,
93+ field : NewFieldName ,
9494 calculator : ( result : FieldReturnType ) => NewFieldType
9595 ) : HigherKindType <
9696 this[ 'tag' ] ,
@@ -127,22 +127,22 @@ export abstract class AbstractField<
127127 field : NewFieldName ,
128128 isArray ?: IsArray
129129 ) : HigherKindType <
130- this[ 'tag' ] ,
130+ this[ 'tag' ] ,
131131 Name ,
132132 FieldReturnType & {
133133 [ k in NewFieldName ] : IsArray extends true
134134 ? FetchedFieldItemType [ ]
135135 : FetchedFieldItemType
136136 } ,
137137 ArrayExpected
138- >
138+ >
139139
140140 // INLINE FRAGMENT
141- addField < NewField extends InlineFragment < any , any > > (
141+ addField < NewField extends InlineFragment < any , any > > (
142142 field : NewField
143143 ) : HigherKindType <
144- this[ 'tag' ] ,
145- Name ,
144+ this[ 'tag' ] ,
145+ Name ,
146146 FieldReturnType & Partial < NewField [ 'resultTypeHolder' ] >
147147 > ;
148148
@@ -152,11 +152,11 @@ export abstract class AbstractField<
152152 > (
153153 field : F
154154 ) : HigherKindType <
155- this[ 'tag' ] ,
156- Name ,
157- FieldReturnType & {
155+ this[ 'tag' ] ,
156+ Name ,
157+ FieldReturnType & {
158158 [ k in F [ 'name' ] ] : F extends Field < any , any , true >
159- ? F [ 'resultTypeHolder' ] [ ]
159+ ? F [ 'resultTypeHolder' ] [ ]
160160 : F [ 'resultTypeHolder' ]
161161 } ,
162162 ArrayExpected
0 commit comments