From c2956a4d4bc67af765e3cf7c7a32e37ed136fc41 Mon Sep 17 00:00:00 2001 From: Benedikt Strehle Date: Tue, 3 Sep 2024 19:48:08 +0200 Subject: [PATCH] refactor imports --- src/visitor.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/visitor.rs b/src/visitor.rs index 26781ee..b3ac480 100644 --- a/src/visitor.rs +++ b/src/visitor.rs @@ -1,5 +1,3 @@ -use swc_core::ecma::ast::{FnExpr, IdentName, JSXAttr, JSXAttrName, JSXAttrValue, JSXElement, JSXElementChild, JSXSpreadChild, MemberExpr, MemberProp}; -use swc_core::ecma::visit::{FoldWith, VisitWith}; use swc_core::{ atoms::Atom, common::{util::take::Take, SyntaxContext, DUMMY_SP}, @@ -8,8 +6,9 @@ use swc_core::{ ArrowExpr, BlockStmt, BlockStmtOrExpr, CallExpr, Callee, Expr, ExprOrSpread, ExprStmt, FnDecl, Ident, JSXEmptyExpr, JSXExpr, JSXExprContainer, Lit, Null, ReturnStmt, Stmt, Str, VarDecl, + IdentName, JSXAttr, JSXAttrName, JSXAttrValue, JSXElement, JSXElementChild, JSXSpreadChild, MemberExpr, MemberProp }, - visit::{Fold, Visit}, + visit::{Fold, Visit, FoldWith, VisitWith}, }, };