Skip to content

Commit

Permalink
Update @babel/traverse: new version of @babel/types (DefinitelyTyped#…
Browse files Browse the repository at this point in the history
…65645)

The tests need to update because isQualifiedTypeIdentifier no longer
requires a parent node.
  • Loading branch information
sandersn authored and Vicary A committed Jun 29, 2023
1 parent c2654c6 commit bc2b430
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/babel__traverse/babel__traverse-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const v1: Visitor = {
if (path.isReferencedIdentifier()) {
// ...
}
if (t.isQualifiedTypeIdentifier(path.node, path.parent)) {
if (t.isQualifiedTypeIdentifier(path.node)) {
// ...
}
},
Expand Down
2 changes: 1 addition & 1 deletion types/babel__traverse/ts4.3/babel__traverse-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const v1: Visitor = {
if (path.isReferencedIdentifier()) {
// ...
}
if (t.isQualifiedTypeIdentifier(path.node, path.parent)) {
if (t.isQualifiedTypeIdentifier(path.node)) {
// ...
}
},
Expand Down

0 comments on commit bc2b430

Please sign in to comment.