Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit f1c6220

Browse files
Double-A-92wardbell
authored andcommitted
Update toh-pt1.jade (#3495)
The 'hero' property is in the AppComponent class, not in Hero.
1 parent 7784faa commit f1c6220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/docs/ts/latest/tutorial/toh-pt1.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ code-example(language="sh" class="code-shell").
7676
+makeExample('toh-1/ts/src/app/app.component.ts', 'hero-class-1', 'src/app/app.component.ts (Hero class)')(format=".")
7777

7878
:marked
79-
In the `Hero` class, refactor the component's `hero` property to be of type `Hero`,
79+
In the `AppComponent` class, refactor the component's `hero` property to be of type `Hero`,
8080
then initialize it with an `id` of `1` and the name `Windstorm`.
8181

8282
+makeExample('toh-1/ts/src/app/app.component.ts', 'hero-property-1', 'src/app/app.component.ts (hero property)')(format=".")

0 commit comments

Comments
 (0)