title: Variable 'a' implicitly has an 'any[]' type
body: <p>I try to run <code>npm start</code> for my angular2 project</p>
  
  <p>but get this error:</p>
  
  <pre><code>  push_quick git:(master) npm start
  
  &gt; angular2-quickstart@1.0.0 start /Users/eladb/WorkspaceQa/SupporTool/src/main/webapp/html/push_quick
  &gt; tsc &amp;&amp; concurrently "tsc -w" "lite-server"
  
  app/shared/stringUtils.service.ts(8,9): error TS7005: Variable 'a' implicitly has an 'any[]' type.
  
  npm ERR! Darwin 15.6.0
  npm ERR! argv "/usr/local/Cellar/node/6.3.1/bin/node" "/usr/local/bin/npm" "start"
  npm ERR! node v6.3.1
  npm ERR! npm  v3.10.3
  npm ERR! code ELIFECYCLE
  npm ERR! angular2-quickstart@1.0.0 start: `tsc &amp;&amp; concurrently "tsc -w" "lite-server" `
  npm ERR! Exit status 2
  npm ERR!
  </code></pre>
  
  <p>for this method:</p>
  
  <pre><code>@Injectable()
  export class StringUtilsService {
  
    mapToFormParamsString( dict : any) : string{
      var a:any[] = []
      for (var key in dict) {
        if (dict.hasOwnProperty(key)) {
          a.push(key+"="+dict[key]);
        }
      }
      return a.join("&amp;");
    }
  }
  </code></pre>
  
  <p>how can i fix this?</p>
  
  <p>changing <code>var a = string[]</code>  or <code>var a = any[]</code></p>
  
  <p>didn't help. same compilation error.</p>
  
  <p>btw, I didn't have thi error when compiling with <code>ng start</code> or in intellij</p>
  
  <p>Is <code>ng start</code> calling <code>mpn start</code> or visa versa ?</p>