Repository navigation
Commit d1dd6b4
committed
fix(@schematics/angular): generate main.ts with lint-compatible error handling
Use unknown catch callback parameters and block bodies in standalone and NgModule
application templates. Cover both variants in application schematic tests.
Closes #342671 parent 57d25aa commit d1dd6b4
3 files changed
Lines changed: 15 additions & 8 deletions
File tree
- packages/schematics/angular/application
- files
- module-files/src
- standalone-files/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
699 | | - | |
700 | | - | |
701 | | - | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
702 | 703 | | |
703 | | - | |
704 | | - | |
705 | | - | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
706 | 709 | | |
707 | 710 | | |
708 | 711 | | |
| |||
0 commit comments