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 |
||
|---|---|---|
| .. | ||
| e2e_test | ||
| src | ||
| BUILD.bazel | ||
| favicon.ico | ||
| README.md | ||
| systemjs-config.js | ||
| systemjs-rxjs-operators.js | ||
| tsconfig-build.json | ||
| tsconfig-e2e.json | ||
How to serve the examples
All playground examples are built and served with Bazel. Below is an example that demonstrates how a specific example can be built and served with Bazel:
# e.g. src/zippy_component
yarn bazel run modules/playground/src/zippy_component:devserver
# e.g. src/upgrade
yarn bazel run modules/playground/src/upgrade:devserver