From 89fcb92640cf28a14603ed022d05cb86cd58fa25 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Sun, 16 May 2021 15:54:23 +0300 Subject: [PATCH] Flow: add missing arg name in function type --- src/language/__tests__/predicates-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/language/__tests__/predicates-test.js b/src/language/__tests__/predicates-test.js index 83afcdad72..860cd33026 100644 --- a/src/language/__tests__/predicates-test.js +++ b/src/language/__tests__/predicates-test.js @@ -17,7 +17,7 @@ import { isTypeExtensionNode, } from '../predicates'; -function filterNodes(predicate: (ASTNode) => boolean): Array { +function filterNodes(predicate: (node: ASTNode) => boolean): Array { return Object.values(Kind).filter( // $FlowExpectedError[speculation-ambiguous] create node only with kind (kind) => predicate({ kind }),