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

Commit 77af47b

Browse files
authored
TSInterfaceDeclaration can have typeParameters
1 parent 9ed21cb commit 77af47b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visitor-keys.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = Evk.unionWith({
4646
TSLiteralType: ["literal"],
4747
TSIndexSignature: ["typeAnnotation", "index"],
4848
TSInterfaceBody: ["body"],
49-
TSInterfaceDeclaration: ["body", "id", "heritage"],
49+
TSInterfaceDeclaration: ["body", "id", "heritage", "typeParameters"],
5050
TSInterfaceHeritage: ["id", "typeParameters"],
5151
TSFunctionType: ["typeAnnotation"],
5252
TSMethodSignature: ["typeAnnotation", "typeParameters", "key", "params"],

0 commit comments

Comments
 (0)