Skip to content

Commit

Permalink
style(transformer/private-methods): rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Jan 10, 2025
1 parent 07edf74 commit ef07fe9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ struct PrivateMethodVisitor<'a, 'ctx, 'v> {

impl<'a, 'ctx, 'v> PrivateMethodVisitor<'a, 'ctx, 'v> {
fn new(
r#static: bool,
is_static: bool,
class_properties: &'v mut ClassProperties<'a, 'ctx>,
ctx: &'v mut TraverseCtx<'a>,
) -> Self {
let mode = if r#static {
let mode = if is_static {
ClassPropertiesSuperConverterMode::StaticPrivateMethod
} else {
ClassPropertiesSuperConverterMode::PrivateMethod
Expand Down

0 comments on commit ef07fe9

Please sign in to comment.