diff --git a/public/docs/_examples/toh-1/ts-snippets/app.component.snippets.pt1.ts b/public/docs/_examples/toh-1/ts-snippets/app.component.snippets.pt1.ts index ffcc45d2f6..a62447ad91 100644 --- a/public/docs/_examples/toh-1/ts-snippets/app.component.snippets.pt1.ts +++ b/public/docs/_examples/toh-1/ts-snippets/app.component.snippets.pt1.ts @@ -33,13 +33,13 @@ template:` // #docregion app-component-1 export class AppComponent { - public title = 'Tour of Heroes'; - public hero = 'Windstorm'; + title = 'Tour of Heroes'; + hero = 'Windstorm'; } // #enddocregion app-component-1 // #docregion hero-property-1 -public hero: Hero = { +hero: Hero = { id: 1, name: 'Windstorm' }; diff --git a/public/docs/_examples/toh-1/ts/app/app.component.ts b/public/docs/_examples/toh-1/ts/app/app.component.ts index 772cd60336..227d901e9b 100644 --- a/public/docs/_examples/toh-1/ts/app/app.component.ts +++ b/public/docs/_examples/toh-1/ts/app/app.component.ts @@ -21,8 +21,8 @@ export class Hero { ` }) export class AppComponent { - public title = 'Tour of Heroes'; - public hero: Hero = { + title = 'Tour of Heroes'; + hero: Hero = { id: 1, name: 'Windstorm' };