Split a model() that has a matching explicit output

Proprietary

Rewrites foo = model() to fooInput = input({alias: 'foo'}) plus foo = linkedSignal(this.fooInput) when the same class also declares a fooChange output. model() already contributes a fooChange output, and Angular 22 rejects the resulting duplicate.

org.openrewrite.angular.migration.migrate-model-with-output
mod run . --recipe=org.openrewrite.angular.migration.migrate-model-with-output

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.