Remove guard and resolver interfaces

Proprietary

Removes CanLoad, CanMatch, CanActivate, CanDeactivate, CanActivateChild, and Resolve from implements clauses and drops their imports. Angular 15.2 deprecated these interfaces because a route can inject the class and call any method it likes. Uses in type position are left alone. Matches the guard-and-resolve-interfaces schematic.

org.openrewrite.angular.migration.remove-guard-and-resolve-interfaces
mod run . --recipe=org.openrewrite.angular.migration.remove-guard-and-resolve-interfaces

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