Skip to content

Commit

Permalink
fix: parseExportNamesInto specifiers typo (#22537)
Browse files Browse the repository at this point in the history
  • Loading branch information
btea committed Dec 23, 2021
1 parent 2021234 commit 3dc41d8
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 3dc41d8

Please sign in to comment.