title: TypeScript error TS1005: ';' expected (II)
body: <p>First of all, I've already seen the other posts about error TS1005. <em>Same error code, but totally different.</em></p>
  
  <p>A simple <code>let x: number;</code> will generate the <code>error TS1005</code> during compilation. It's not about a missing semicolon as what the error message says, but the compiler does not recognize the let keyword. I read that maybe because of an outdated compiler. </p>
  
  <p>Here's my typescript version installed using <code>npm install -g typescript</code></p>
  
  <ul>
  <li>TypeScript version: <code>2.5.2</code></li>
  <li>Compiler (tsc) version: <code>1.0.3.0</code></li>
  </ul>
  
  <p><em>Maybe somebody can help?</em></p>