We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bd2c88 commit 21b0d01Copy full SHA for 21b0d01
crates/oxc_transformer/src/typescript/enum.rs
@@ -1,4 +1,4 @@
1
-use oxc_allocator::{Box, Vec};
+use oxc_allocator::Vec;
2
use oxc_ast::{ast::*, visit::walk_mut, VisitMut};
3
use oxc_span::{Atom, SPAN};
4
use oxc_syntax::{
@@ -55,7 +55,7 @@ impl<'a> TypeScriptEnum<'a> {
55
/// ```
56
fn transform_ts_enum(
57
&mut self,
58
- decl: &Box<'a, TSEnumDeclaration<'a>>,
+ decl: &TSEnumDeclaration<'a>,
59
is_export: bool,
60
ctx: &TraverseCtx<'a>,
61
) -> Option<Statement<'a>> {
0 commit comments