Skip to content

Commit

Permalink
Make tscheck happy
Browse files Browse the repository at this point in the history
  • Loading branch information
fedeci committed Jul 29, 2021
1 parent 10da6fe commit a9c7016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-traverse/src/path/family.ts
Expand Up @@ -522,7 +522,7 @@ export function getBindingIdentifierPaths(

if (id.isExportDeclaration()) {
const declaration = id.get("declaration");
if (declaration.isDeclaration()) {
if (t.isDeclaration(declaration)) {
search.push(declaration);
}
continue;
Expand Down

0 comments on commit a9c7016

Please sign in to comment.