Skip to content

Commit

Permalink
fix: parseExportNamesInto specifiers typo
Browse files Browse the repository at this point in the history
  • Loading branch information
btea committed Oct 11, 2021
1 parent afcb9cd commit 0d82b6c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@ async function parseExportNamesInto(
addExportNames(names, node.declaration.id);
}
}
if (node.specificers) {
const specificers = node.specificers;
for (let j = 0; j < specificers.length; j++) {
addExportNames(names, specificers[j].exported);
if (node.specifiers) {
const specifiers = node.specifiers;
for (let j = 0; j < specifiers.length; j++) {
addExportNames(names, specifiers[j].exported);
}
}
continue;
Expand Down

0 comments on commit 0d82b6c

Please sign in to comment.