mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00: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 |
||
|---|---|---|
| .. | ||
| benchmarks | ||
| playground | ||
| empty.ts | ||
| system.d.ts | ||
| tsconfig.json | ||
| types.d.ts | ||