Find pathMatch route properties that may need type narrowing
ProprietaryFinds pathMatch property assignments in route configurations. In Angular 14, the pathMatch type was narrowed from string to 'full' | 'prefix'. Routes defined as plain objects without explicit Route or Routes typing may fail type checking.
org. openrewrite. angular. search. find-path-match-type-usagemod run . --recipe= org. openrewrite. angular. search. find-path-match-type-usageInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.