Remove flow

This commit is contained in:
Sam Goldman
2016-03-01 21:02:55 -08:00
parent f4197cc77b
commit 2827ff6b01
75 changed files with 278 additions and 542 deletions

View File

@@ -54,13 +54,13 @@ export default function ({ types: t }) {
if (path.isClass()) {
if (path.node.decorators) return true;
for (let method of (path.node.body.body: Array<Object>)) {
for (let method of path.node.body.body) {
if (method.decorators) {
return true;
}
}
} else if (path.isObjectExpression()) {
for (let prop of (path.node.properties: Array<Object>)) {
for (let prop of path.node.properties) {
if (prop.decorators) {
return true;
}