mirror of
https://github.com/angular/angular.git
synced 2026-11-30 10:27:51 -05:00
Route.pathMatch only allows `'full'|'prefix'` in reality. This commit adjusts the type to be more strict and also adds a migration to adjust existing code. resolves #37469 BREAKING CHANGE: The type of `Route.pathMatch` is now more strict. Places that use `pathMatch` will likely need to be updated to have an explicit `Route`/`Routes` type so that TypeScript does not infer the type as `string`. PR Close #45176
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT