mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
refactor(transformer): remove needless pub on TS enum transform methods (#3774)
Tiny refactor. Remove `pub` visibility on methods not used outside of module.
This commit is contained in:
parent
b38c34dfce
commit
7c44703a4c
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
@ -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>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue