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

Commit b669e30

Browse files
trshaferwardbell
authored andcommitted
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
1 parent f15b40f commit b669e30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/docs/_examples/toh-4/ts/app/mock-heroes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// #docregion
22
import { Hero } from './hero';
33

4-
export var HEROES: Hero[] = [
4+
export const HEROES: Hero[] = [
55
{id: 11, name: 'Mr. Nice'},
66
{id: 12, name: 'Narco'},
77
{id: 13, name: 'Bombasto'},

0 commit comments

Comments
 (0)