From 0276c3ae8174f3f7ea6a3f77c77975d1064fbf06 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Tue, 28 Apr 2015 00:05:10 +0100 Subject: [PATCH] visit decorators key for ClassProperty nodes --- src/babel/types/visitor-keys.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/babel/types/visitor-keys.json b/src/babel/types/visitor-keys.json index bba5f3b61f..c0d52cab62 100644 --- a/src/babel/types/visitor-keys.json +++ b/src/babel/types/visitor-keys.json @@ -79,7 +79,7 @@ "ArrayTypeAnnotation": ["elementType"], "BooleanTypeAnnotation": [], "ClassImplements": ["id", "typeParameters"], - "ClassProperty": ["key", "value", "typeAnnotation"], + "ClassProperty": ["key", "value", "typeAnnotation", "decorators"], "DeclareClass": ["id", "typeParameters", "extends", "body"], "DeclareFunction": ["id"], "DeclareModule": ["id", "body"],