We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ee3dc5 commit 814169bCopy full SHA for 814169b
src/type/__tests__/predicate-test.js
@@ -559,7 +559,7 @@ describe('Type predicates', () => {
559
});
560
561
describe('isRequiredArgument', () => {
562
- function buildArg(config: $Shape<GraphQLArgument>) {
+ function buildArg(config: $Shape<GraphQLArgument>): GraphQLArgument {
563
return {
564
name: 'someArg',
565
description: undefined,
@@ -604,7 +604,9 @@ describe('Type predicates', () => {
604
605
606
describe('isRequiredInputField', () => {
607
- function buildInputField(config: $Shape<GraphQLInputField>) {
+ function buildInputField(
608
+ config: $Shape<GraphQLInputField>,
609
+ ): GraphQLInputField {
610
611
name: 'someInputField',
612
0 commit comments