Skip to content

Commit 27d519b

Browse files
Flow: add missing arg name in function type (#3100)
1 parent 7fb6c78 commit 27d519b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/language/__tests__/predicates-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
isTypeExtensionNode,
1818
} from '../predicates';
1919

20-
function filterNodes(predicate: (ASTNode) => boolean): Array<string> {
20+
function filterNodes(predicate: (node: ASTNode) => boolean): Array<string> {
2121
return Object.values(Kind).filter(
2222
// $FlowExpectedError[speculation-ambiguous] create node only with kind
2323
(kind) => predicate({ kind }),

0 commit comments

Comments
 (0)