Pass an object to tapResponse

Proprietary

NgRx 22 removed the deprecated callback signature tapResponse(next, error, complete?) of @ngrx/operators. Rewrites the calls to tapResponse({ next, error, complete }), and marks the calls that spread their callbacks into the arguments.

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

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