From 27c97aab342271ef4c0496a3aeef49cc1c93dac1 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Wed, 1 Apr 2015 00:44:54 +1100 Subject: [PATCH] reneable seting of type annotations --- src/babel/transformation/file/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/babel/transformation/file/index.js b/src/babel/transformation/file/index.js index f057a2b0a0..330f94e97b 100644 --- a/src/babel/transformation/file/index.js +++ b/src/babel/transformation/file/index.js @@ -428,7 +428,7 @@ export default class File { this.scope = this.path.scope; this.ast = ast; - /*this.path.traverse({ + this.path.traverse({ enter(node, parent, scope) { if (this.isScope()) { for (var key in scope.bindings) { @@ -436,7 +436,7 @@ export default class File { } } } - });*/ + }); } transform(ast) {