Skip to content

Commit 6d38d5c

Browse files
committed
Merge pull request #84 from andimarek/master
fix type info: astAndDefs and the return value have the same type
2 parents c81e442 + b8d1d2f commit 6d38d5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validator/rules/OverlappingFieldsCanBeMerged.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ function collectFieldASTsAndDefs(
227227
selectionSet: SelectionSet,
228228
visitedFragmentNames?: {[key: string]: boolean},
229229
astAndDefs?: {[key: string]: Array<[Field, GraphQLFieldDefinition]>}
230-
): {[key: string]: Array<Field>} {
230+
): {[key: string]: Array<[Field, GraphQLFieldDefinition]>} {
231231
var _visitedFragmentNames = visitedFragmentNames || {};
232232
var _astAndDefs = astAndDefs || {};
233233
for (var i = 0; i < selectionSet.selections.length; i++) {

0 commit comments

Comments
 (0)