Spread the array passed to provideEffects

Proprietary

NgRx 15 made provideEffects take the effect classes as rest arguments, so provideEffects([A, B]) becomes provideEffects(A, B).

org.openrewrite.angular.ngrx.MigrateProvideEffectsArray
mod run . --recipe=org.openrewrite.angular.ngrx.MigrateProvideEffectsArray

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