diff --git a/lib/6to5/traverse/scope.js b/lib/6to5/traverse/scope.js index 6a35054c9c..f4639fd6ac 100644 --- a/lib/6to5/traverse/scope.js +++ b/lib/6to5/traverse/scope.js @@ -148,16 +148,15 @@ Scope.prototype.inferType = function (node) { } if (t.isLiteral(target) || t.isArrayExpression(target) || t.isObjectExpression(target)) { - // todo: possibly call some helper that will resolve these to a type annotation + // todo: possibly call some helper that will resolve these to a flow type annotation } if (t.isCallExpression(target)) { - // todo: need to resolve this to a return type + // todo: resolve this to a return type } if (t.isMemberExpression(target)) { - // todo: crawl this and find the correct type, bail on anything that we cannot - // possibly be 100% confident on + // todo: crawl this and find the correct type, bail on anything that we cannot possibly be 100% confident on } if (t.isIdentifier(target)) {