Migrate @Output() to signal-based output()
Recipe ID
org.openrewrite.angular.migration.migrate-output-to-signalArtifact@openrewrite/recipes-angularConverts @Output() decorated properties using EventEmitter in Angular classes to signal-based output() declarations. For example, @Output() clicked = new EventEmitter<void>() becomes clicked = output<void>().
Single recipeProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.angular.migration.migrate-output-to-signalIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-angular