Skip to content

Commit

Permalink
refactor(transformer/class-properties): rename var (#8006)
Browse files Browse the repository at this point in the history
Give var more descriptive name.
  • Loading branch information
overlookmotel committed Dec 18, 2024
1 parent 87ea928 commit d1b7181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_transformer/src/es2022/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ impl<'a, 'ctx> Traverse<'a> for ES2022<'a, 'ctx> {

fn enter_assignment_target(
&mut self,
node: &mut AssignmentTarget<'a>,
target: &mut AssignmentTarget<'a>,
ctx: &mut TraverseCtx<'a>,
) {
if let Some(class_properties) = &mut self.class_properties {
class_properties.enter_assignment_target(node, ctx);
class_properties.enter_assignment_target(target, ctx);
}
}
}

0 comments on commit d1b7181

Please sign in to comment.