diff --git a/src/utilities/valueFromAST.js b/src/utilities/valueFromAST.js index 258976462b..00e133e92e 100644 --- a/src/utilities/valueFromAST.js +++ b/src/utilities/valueFromAST.js @@ -38,7 +38,7 @@ export function valueFromAST( valueNode: ?ValueNode, type: GraphQLInputType, variables?: ?ObjMap, -): mixed | void { +): mixed { if (!valueNode) { // When there is no node, then there is also no value. // Importantly, this is different from returning the value null.