Skip to content

Commit

Permalink
Fix problem in JavaScript tree.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwannheden committed Sep 21, 2024
1 parent b751ec1 commit d58def5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openrewrite/src/javascript/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ export namespace ObjectBindingDeclarations {
}

public acceptJavaScript<P>(v: JavaScriptVisitor<P>, p: P): J | null {
return v.visitObjectBindingDeclarationsBinding(this, p);
return v.visitBinding(this, p);
}

public get type(): JavaType | null {
Expand Down

0 comments on commit d58def5

Please sign in to comment.