spabloramirez
1/11/2017 - 5:19 PM

TypeScript

Import Module

import { Hero } from './hero'

Data Types

const HEROES: Hero[] = [
    { id: 20, name: 'Tornado' }
];
import { Input } from '@angular/core';

@Input()
hero: Hero;