fix duplicate declaration

This commit is contained in:
Sebastian McKenzie 2015-06-08 23:49:00 +01:00
parent 7492074794
commit cf25424295

View File

@ -164,7 +164,7 @@ function getTypeAnnotationBasedOnConditional(path, name) {
var types = [];
do {
var path = paths.shift().resolve();
let path = paths.shift().resolve();
if (path.isLogicalExpression()) {
paths.push(path.get("left"), path.get("right"));