title: Cannot find name +'Input'. any Angular 2
body: <p>I am trying to get @Input to work with Typescript in Angular 2. I am getting the following error and I don't understand why. </p>
  
  <blockquote>
    <p>[ts] Cannot find name 'Input'. any</p>
  </blockquote>
  
  <p>Below is the code from that component. </p>
  
  <pre><code>import { Component, OnInit } from '@angular/core';
  
  @Component({
     selector: 'app-item',
     templateUrl: './app-item.component.html',
     styleUrls: ['./app-item.component.css']
  })
  export class AppItemComponent implements OnInit {
        @Input item; //TypeScript complains here. 
  
        constructor() { }
  
        ngOnInit() {}
  }
  </code></pre>
  
  <p>The project and component were both created using the Angular CLI. Why can't TypeScript figure out the @Input decoration? </p>