diff --git a/aio/content/examples/toh-pt5/src/app/hero-detail/hero-detail.component.ts b/aio/content/examples/toh-pt5/src/app/hero-detail/hero-detail.component.ts index 637ba05f66..43d1082470 100644 --- a/aio/content/examples/toh-pt5/src/app/hero-detail/hero-detail.component.ts +++ b/aio/content/examples/toh-pt5/src/app/hero-detail/hero-detail.component.ts @@ -1,6 +1,6 @@ // #docplaster // #docregion -import { Component, OnInit, Input } from '@angular/core'; +import { Component, OnInit } from '@angular/core'; // #docregion added-imports import { ActivatedRoute } from '@angular/router'; import { Location } from '@angular/common'; @@ -17,7 +17,7 @@ import { HeroService } from '../hero.service'; styleUrls: [ './hero-detail.component.css' ] }) export class HeroDetailComponent implements OnInit { - @Input() hero: Hero; + hero: Hero; // #docregion ctor constructor(