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

Commit

Permalink
Fix: visitor-keys for TSAbstractClassProperty (#560)
Browse files Browse the repository at this point in the history
* Fix: order of visiting in TSAbstractClassProperty

* Add missing decorators to TSAbstractClassProperty

its already supported in ClassProperty
  • Loading branch information
armano2 authored and platinumazure committed Nov 28, 2018
1 parent 491ebca commit c19e479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visitor-keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = Evk.unionWith({
// Additional Nodes.
ClassProperty: ["decorators", "key", "typeAnnotation", "value"],
Decorator: ["expression"],
TSAbstractClassProperty: ["typeAnnotation", "key", "value"],
TSAbstractClassProperty: ["decorators", "key", "typeAnnotation", "value"],
TSAbstractClassDeclaration: ["id", "body", "superClass", "implements"],
TSAbstractKeyword: [],
TSAbstractMethodDefinition: ["key", "value"],
Expand Down

0 comments on commit c19e479

Please sign in to comment.