mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The class-based guard and resolver interfaces are deprecated. The `Router` types only support functional guards definitions. Classes can still be used as the underlying implementation of functional guards and resolvers but there will not be an interface requiring a specific structure for those classes. There are also helper functions like `mapToCanActivate` that allow converting the existing class-based guards directly to functional guards at the route definition. This will be done in a separate migration. PR Close #49337 |
||
|---|---|---|
| .. | ||
| tslint | ||
| typescript | ||
| BUILD.bazel | ||
| change_tracker.ts | ||
| extract_metadata.ts | ||
| import_manager.ts | ||
| line_mappings.ts | ||
| load_esm.ts | ||
| ng_component_template.ts | ||
| ng_decorators.ts | ||
| parse_html.ts | ||
| project_tsconfig_paths.ts | ||
| template_ast_visitor.ts | ||