From f1c622085776642265e8a5bc932a89dc365bed97 Mon Sep 17 00:00:00 2001 From: Double-A-92 Date: Wed, 12 Apr 2017 04:34:15 +0200 Subject: [PATCH] Update toh-pt1.jade (#3495) The 'hero' property is in the AppComponent class, not in Hero. --- public/docs/ts/latest/tutorial/toh-pt1.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/ts/latest/tutorial/toh-pt1.jade b/public/docs/ts/latest/tutorial/toh-pt1.jade index 69270e1789..dd57f820fd 100644 --- a/public/docs/ts/latest/tutorial/toh-pt1.jade +++ b/public/docs/ts/latest/tutorial/toh-pt1.jade @@ -76,7 +76,7 @@ code-example(language="sh" class="code-shell"). +makeExample('toh-1/ts/src/app/app.component.ts', 'hero-class-1', 'src/app/app.component.ts (Hero class)')(format=".") :marked - In the `Hero` class, refactor the component's `hero` property to be of type `Hero`, + In the `AppComponent` class, refactor the component's `hero` property to be of type `Hero`, then initialize it with an `id` of `1` and the name `Windstorm`. +makeExample('toh-1/ts/src/app/app.component.ts', 'hero-property-1', 'src/app/app.component.ts (hero property)')(format=".")