refactor(transformer): shorten import (#6180)

Tiny change. Import with `use crate::TransformCtx` not `use crate::context::TransformCtx`.
This commit is contained in:
overlookmotel 2024-09-30 14:08:52 +00:00
parent 3b79e1bc9d
commit 02fedf5123

View file

@ -20,7 +20,7 @@ use oxc_span::SPAN;
use oxc_syntax::symbol::SymbolId;
use oxc_traverse::{Traverse, TraverseCtx};
use crate::{context::TransformCtx, helpers::stack::SparseStack};
use crate::{helpers::stack::SparseStack, TransformCtx};
/// Transform that maintains the stack of `Vec<VariableDeclarator>`s, and adds a `var` statement
/// to top of a statement block if another transform has requested that.