title: The Angular Compiler requires TypeScript >=2.7.2 and <2.8.0 but 2.8.3 was found instead
body: <p>I starting getting this error on my Angular app:</p>
  
  <blockquote>
    <p>The Angular Compiler requires TypeScript >=2.7.2 and &lt;2.8.0 but 2.8.3
    was found instead</p>
  </blockquote>
  
  <p>and when I try to downgrade typescript to the right version doing:</p>
  
  <p><code>npm install -g typescript@2.7.2</code> it says updated 1 package.</p>
  
  <p>when I verify typescript version using 
  <code>npm view typescript version</code>
  I still get 2.8.3</p>
  
  <p>I even tried removing typescript entirely using <code>npm uninstall -g typescript</code></p>
  
  <p>but when I verify typescript version again
  <code>npm view typescript version</code> I still get 2.8.3</p>
  
  <p>What are the commands to properly purge and restore typescript to a previous version such as 2.7.2?</p>
  
  <p>I'm running node v10.0.0 and npm v6.0.1</p>
  
  <p>When I run <code>npm list -g typescript</code> I see the correct version coming 2.7.2 but still version 2.8.3 is installed somehow globally</p>