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

Commit c19e479

Browse files
armano2platinumazure
authored andcommitted
Fix: visitor-keys for TSAbstractClassProperty (#560)
* Fix: order of visiting in TSAbstractClassProperty * Add missing decorators to TSAbstractClassProperty its already supported in ClassProperty
1 parent 491ebca commit c19e479

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
@@ -23,7 +23,7 @@ module.exports = Evk.unionWith({
2323
// Additional Nodes.
2424
ClassProperty: ["decorators", "key", "typeAnnotation", "value"],
2525
Decorator: ["expression"],
26-
TSAbstractClassProperty: ["typeAnnotation", "key", "value"],
26+
TSAbstractClassProperty: ["decorators", "key", "typeAnnotation", "value"],
2727
TSAbstractClassDeclaration: ["id", "body", "superClass", "implements"],
2828
TSAbstractKeyword: [],
2929
TSAbstractMethodDefinition: ["key", "value"],

0 commit comments

Comments
 (0)