We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f55698 commit 77cb29cCopy full SHA for 77cb29c
crates/swc_ecma_transformer/src/common/statement_injector.rs
@@ -15,12 +15,8 @@
15
//! self.ctx.statement_injector.insert_many_after(address, statements);
16
//! ```
17
18
-use std::cell::RefCell;
19
-
20
-use rustc_hash::FxHashMap;
21
use swc_ecma_ast::*;
22
use swc_ecma_hooks::VisitMutHook;
23
-use swc_ecma_visit::AstKindPath;
24
25
use crate::TraverseCtx;
26
@@ -41,8 +37,6 @@ struct AdjacentStmt {
41
37
42
38
/// Store for Stmts to be added to the Stmts.
43
39
#[derive(Default)]
44
-pub struct StmtInjectorStore {
45
- insertions: RefCell<FxHashMap<AstKindPath, Vec<AdjacentStmt>>>,
46
-}
40
+pub struct StmtInjectorStore {}
47
48
impl VisitMutHook<TraverseCtx> for StmtInjector {}
0 commit comments