Skip to content

Commit

Permalink
Fix visitorKeys
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Sep 17, 2021
1 parent 729b9db commit b4ba602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eslint/babel-eslint-parser/src/worker/ast-info.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports.getVisitorKeys = function getVisitorKeys() {
ESLINT_VISITOR_KEYS.MethodDefinition,
),
Property: ["decorators"].concat(ESLINT_VISITOR_KEYS.Property),
PropertyDefinition: ["decorators"].concat(
PropertyDefinition: ["decorators", "typeAnnotation"].concat(
ESLINT_VISITOR_KEYS.PropertyDefinition,
),
};
Expand Down

0 comments on commit b4ba602

Please sign in to comment.