remove ExportSpecifier from t.getBindingIdentifiers as it has none
This commit is contained in:
@@ -590,7 +590,7 @@ t.getBindingIdentifiers = function (node) {
|
||||
|
||||
if (t.isIdentifier(id)) {
|
||||
ids[id.name] = id;
|
||||
} else if (t.isModuleSpecifier(id)) {
|
||||
} else if (t.isImportSpecifier(id)) {
|
||||
search.push(id.name || id.id);
|
||||
} else if (t.isExportDeclaration(id)) {
|
||||
if (t.isDeclaration(node.declaration)) {
|
||||
|
||||
Reference in New Issue
Block a user