Revert "Remove flow"

This reverts commit 2827ff6b01.
This commit is contained in:
Amjad Masad
2016-03-03 14:49:20 -08:00
parent b88182cacf
commit 3667527d04
75 changed files with 542 additions and 278 deletions

View File

@@ -17,8 +17,8 @@ let buildWrapper = template(`
export default function ({ types: t }) {
let ALREADY_VISITED = Symbol();
function findConstructorCall(path) {
let methods = path.get("body.body");
function findConstructorCall(path): ?Object {
let methods: Array<Object> = path.get("body.body");
for (let method of methods) {
if (method.node.kind === "constructorCall") {