File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/relay-test-utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ class RelayMockPayloadGenerator {
209
209
generate (
210
210
selections : $ReadOnlyArray < NormalizationSelection > ,
211
211
operationType : string ,
212
- ) : GraphQLResponse {
212
+ ) : Array < GraphQLSingularResponse > {
213
213
const defaultValues = this . _getDefaultValuesForObject (
214
214
operationType ,
215
215
null ,
@@ -922,7 +922,7 @@ function generateData(
922
922
mockResolvers : MockResolvers | null ,
923
923
selectionMetadata : SelectionMetadata | null ,
924
924
options : ?{ mockClientData ? : boolean , generateDeferredPayload ?: boolean } ,
925
- ) : GraphQLResponse {
925
+ ) : Array < GraphQLSingularResponse > {
926
926
const mockGenerator = new RelayMockPayloadGenerator ( {
927
927
variables,
928
928
mockResolvers,
You can’t perform that action at this time.
0 commit comments