diff --git a/src/utils/getObject.ts b/src/utils/getObject.ts index c46e8e7583..0d3ce4d789 100644 --- a/src/utils/getObject.ts +++ b/src/utils/getObject.ts @@ -1,7 +1,6 @@ import { Node } from '../interfaces'; export default function getObject(node: Node) { - // TODO validation should ensure this is an Identifier or a MemberExpression while (node.type === 'MemberExpression') node = node.object; return node; } \ No newline at end of file