title: TypeScript - error TS1146: Declaration expected
body: <p>I got the latest <a href="http://www.typescriptlang.org/" rel="nofollow">TypeScript</a> via npm (<code>npm install -g typescript</code>)</p>
  
  <p><code>Version 1.7.5</code></p>
  
  <p>When I run the typescript compile command on my file: <code>tsc app.component.ts --module system</code></p>
  
  <p>I get the following error: <code>app.component.ts(15,7): error TS1146: Declaration expected.</code></p>
  
  <pre><code>import {Component} from 'angular2/core';
  
      @Component({
          selector: 'my-app',
          // template: '&lt;h1&gt;My title: {{title}}&lt;/h1&gt; &lt;h2&gt;Hardcoded h2&lt;/h2&gt;'
      })
      @View({ // &lt;- line 7
          templateUrl: '/templates/home.html',
          directives: []
      })
      .Class({
          constructor: function() {
  
          }
      }); // &lt;- line 15
  
  export class AppComponent {
      title = "My First Angular 2 App";
  }
  </code></pre>
  
  <p>Anyone know what this error means?</p>