diff --git a/crates/oxc_angular_compiler/src/partial/factory.rs b/crates/oxc_angular_compiler/src/partial/factory.rs index 7105fa2b3..817b2184a 100644 --- a/crates/oxc_angular_compiler/src/partial/factory.rs +++ b/crates/oxc_angular_compiler/src/partial/factory.rs @@ -175,7 +175,7 @@ fn factory_target_expr<'a>( FactoryTarget::Directive => "Directive", FactoryTarget::Pipe => "Pipe", FactoryTarget::NgModule => "NgModule", - FactoryTarget::Injectable => "Injectable", + FactoryTarget::Injectable | FactoryTarget::Service => "Injectable", }; let factory_target_ref = OutputExpression::ReadProp(Box::new_in(