Find two argument canMatch guard calls
ProprietaryFinds calls to a canMatch guard that pass only a route and its segments. Angular 22 made the currentSnapshot parameter of CanMatch and CanMatchFn required, so those calls no longer compile. Guards that declare fewer parameters keep working and are not reported.
org. openrewrite. angular. search. find-can-match-usagemod run . --recipe= org. openrewrite. angular. search. find-can-match-usageInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.