Skip to content

Commit

Permalink
refactor(transformer): remove needless pub on TS enum transform met…
Browse files Browse the repository at this point in the history
…hods
  • Loading branch information
overlookmotel committed Jun 19, 2024
1 parent 315f9ad commit 224cfd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_transformer/src/typescript/enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl<'a> TypeScriptEnum<'a> {
/// return Foo;
/// })(Foo || {});
/// ```
pub fn transform_ts_enum(
fn transform_ts_enum(
&mut self,
decl: &Box<'a, TSEnumDeclaration<'a>>,
is_export: bool,
Expand Down Expand Up @@ -149,7 +149,7 @@ impl<'a> TypeScriptEnum<'a> {
Some(stmt)
}

pub fn transform_ts_enum_members(
fn transform_ts_enum_members(
&mut self,
members: &Vec<'a, TSEnumMember<'a>>,
enum_name: &Atom<'a>,
Expand Down

0 comments on commit 224cfd2

Please sign in to comment.