Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Commit f6bb022

Browse files
authored
Fix: missing parameters in TSFunctionType
1 parent 54ba124 commit f6bb022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visitor-keys.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = Evk.unionWith({
4848
TSInterfaceBody: ["body"],
4949
TSInterfaceDeclaration: ["body", "id", "heritage", "typeParameters"],
5050
TSInterfaceHeritage: ["id", "typeParameters"],
51-
TSFunctionType: ["typeAnnotation"],
51+
TSFunctionType: ["typeAnnotation", "parameters"],
5252
TSMethodSignature: ["typeAnnotation", "typeParameters", "key", "params"],
5353
TSModuleBlock: ["body"],
5454
TSModuleDeclaration: ["id", "body"],

0 commit comments

Comments
 (0)