File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -134,15 +134,18 @@ export function buildResolveInfo(
134
134
path : Path ,
135
135
) : GraphQLResolveInfo ;
136
136
137
- // Isolates the "ReturnOrAbrupt" behavior to not de-opt the `resolveField`
138
- // function. Returns the result of resolveFn or the abrupt-return Error object.
139
- // TS_SPECIFIC: TSource
140
- export function resolveFieldValueOrError < TSource > (
137
+ /**
138
+ * Isolates the "ReturnOrAbrupt" behavior to not de-opt the `resolveField`
139
+ * function. Returns the result of resolveFn or the abrupt-return Error object.
140
+ *
141
+ * @internal
142
+ */
143
+ export function resolveFieldValueOrError (
141
144
exeContext : ExecutionContext ,
142
- fieldDef : GraphQLField < TSource , any > ,
145
+ fieldDef : GraphQLField < any , any > ,
143
146
fieldNodes : ReadonlyArray < FieldNode > ,
144
- resolveFn : GraphQLFieldResolver < TSource , any > ,
145
- source : TSource ,
147
+ resolveFn : GraphQLFieldResolver < any , any > ,
148
+ source : any ,
146
149
info : GraphQLResolveInfo ,
147
150
) : Error | any ;
148
151
You can’t perform that action at this time.
0 commit comments