error TS2564: Property 'selectedHero' has no initializer and is not definitely assigned in the constructor. 13 selectedHero:Hero; code example
Example: Property 'firstName' has no initializer and is not definitely assigned in the constructor
"angularCompilerOptions": {
// ...
"strictPropertyInitialization": false
// ...
}