mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
setting the `hero` property as an optional property fixes the compilation error: `Property 'hero' has no initializer and is not definitely assigned in the constructor` when having the ts transpiler set to "strict" mode. PR Close #40942 |
||
|---|---|---|
| .. | ||
| cli | ||
| cli-src | ||
| errors | ||
| examples | ||
| guide | ||
| images | ||
| marketing | ||
| start | ||
| tutorial | ||
| file-not-found.md | ||
| license.md | ||
| navigation.json | ||