title: typescript angular2.d.ts error "Expecting new line or semicolon"
body: <p>my latest <code>WebStorm10.0.2</code> raise Error about <code>"angular2.d.ts"</code> that "Expecting new line or semicolon." in line 15-19 and line 32-37.</p>
  
  <p>Angular2 team make a mistake at the 5min start example? I can't believe, it must be my mistake.</p>
  
  <p>So:</p>
  
  <p>I clone step by step follow the "5min quick start of angular2"(<a href="https://angular.io/" rel="nofollow noreferrer">https://angular.io/</a>).</p>
  
  <p>I have already move 'index.html' and 'app.ts' from 'complete' to the Base-Path.</p>
  
  <p>I have also change my <code>WebStorm10.0.2</code> Compiler version to custom directory which contains typescriptService.js.</p>
  
  <p>Still not work...</p>
  
  <p>My typescript version is 1.5Beta.</p>
  
  <pre><code>interface List&lt;T&gt; extends Array&lt;T&gt; {
  }
  interface Type {}
  
  declare module "angular2/angular2" {
    function bootstrap(appComponentType: any): void;
    function Component({
      selector,
      properties,
      hostListeners,
      injectables,
      lifecycle,
      changeDetection
      }:{
        selector:string,
        properties?:Object,
        hostListeners?:Object,
        injectables?:List&lt;any&gt;,
        lifecycle?:List&lt;any&gt;,
        changeDetection?:string
      });
  
    function View({
        templateUrl,
        template,
        directives,
        formatters,
        source,
        locale,
        device
      }: {
        templateUrl?: string,
        template?: string,
        directives?: List&lt;Type&gt;,
        formatters?: List&lt;Type&gt;,
        source?: List&lt;any&gt;,
        locale?: string,
        device?: string
      });
    function For();
    function If();
  }
  </code></pre>