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 7fb6c78 commit 27d519bCopy full SHA for 27d519b
src/language/__tests__/predicates-test.js
@@ -17,7 +17,7 @@ import {
17
isTypeExtensionNode,
18
} from '../predicates';
19
20
-function filterNodes(predicate: (ASTNode) => boolean): Array<string> {
+function filterNodes(predicate: (node: ASTNode) => boolean): Array<string> {
21
return Object.values(Kind).filter(
22
// $FlowExpectedError[speculation-ambiguous] create node only with kind
23
(kind) => predicate({ kind }),
0 commit comments