docs(displaying-data): remind to import `Hero` class (#2975) (#2984)

This commit is contained in:
Ward Bell 2016-12-14 22:21:57 -08:00 committed by GitHub
parent 437617d564
commit 023ba1c75c
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ block hero-class
:marked
## Using the Hero class
The `heroes` property in the component can now use the `Hero` class to return !{_an} !{_array}
After importing the `Hero` class, the `AppComponent.heroes` property can return a _typed_ !{_array}
of `Hero` objects:
+makeExcerpt('app/app.component.3.ts', 'heroes')