From b669e30187356c7a6ff64add8f7c5d3c939f0a06 Mon Sep 17 00:00:00 2001 From: Thomas Shafer Date: Fri, 8 Jul 2016 10:29:21 -0700 Subject: [PATCH] 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 --- public/docs/_examples/toh-4/ts/app/mock-heroes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/_examples/toh-4/ts/app/mock-heroes.ts b/public/docs/_examples/toh-4/ts/app/mock-heroes.ts index 69afde3d34..6f7c5d83a0 100644 --- a/public/docs/_examples/toh-4/ts/app/mock-heroes.ts +++ b/public/docs/_examples/toh-4/ts/app/mock-heroes.ts @@ -1,7 +1,7 @@ // #docregion import { Hero } from './hero'; -export var HEROES: Hero[] = [ +export const HEROES: Hero[] = [ {id: 11, name: 'Mr. Nice'}, {id: 12, name: 'Narco'}, {id: 13, name: 'Bombasto'},