always remove ClassProperty nodes in flow transformer - fixes #1686

This commit is contained in:
Sebastian McKenzie
2015-06-05 09:42:46 +01:00
parent 02a6feed73
commit 25581981b5
3 changed files with 10 additions and 9 deletions

View File

@@ -7,7 +7,9 @@ export function Flow(node) {
}
export function ClassProperty(node) {
node.typeAnnotation = null;
// todo: uncomment when/if class properties are supported by default.
// node.typeAnnotation = null;
this.dangerouslyRemove();
}
export function Class(node) {