support ParenthesizedExpression in types.getIds
This commit is contained in:
parent
72369c90a2
commit
361ef02a88
@ -185,6 +185,8 @@ t.getIds = function (node, map) {
|
||||
search = search.concat(id.specifiers);
|
||||
} else if (t.isMemberExpression(id)) {
|
||||
search.push(id.object);
|
||||
} else if (t.isParenthesizedExpression(id)) {
|
||||
search.push(id.expression);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user