Commit cefea43
fix(@schematics/angular): remove constructor from service template
Now that the style guide recommends to use `inject()`, having a constructor in a service is not really useful.1 parent 1aeefa7 commit cefea43
File tree
1 file changed
+1
-2
lines changed- packages/schematics/angular/service/files
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
9 | 8 | | |
0 commit comments