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:
overlookmotel 2024-06-19 15:51:04 +00:00
parent b38c34dfce
commit 7c44703a4c

View file

@ -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>,