docs(toh-4): change var keyword to const for HEROES constant

closes #1858
HEROES is a `const` and is defined as a `const` originally: https://github.com/angular/angular.io/blob/master/public/docs/_examples/toh-2/ts/app/app.component.ts#L10
This commit is contained in:
Thomas Shafer 2016-07-08 10:29:21 -07:00 committed by Ward Bell
parent f15b40f513
commit b669e30187
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
// #docregion // #docregion
import { Hero } from './hero'; import { Hero } from './hero';
export var HEROES: Hero[] = [ export const HEROES: Hero[] = [
{id: 11, name: 'Mr. Nice'}, {id: 11, name: 'Mr. Nice'},
{id: 12, name: 'Narco'}, {id: 12, name: 'Narco'},
{id: 13, name: 'Bombasto'}, {id: 13, name: 'Bombasto'},