title: Error: Property 'map' does not exist on type 'Observable'
body: <p>After I updated angular/cli, I got an error:</p>
  
  <pre><code>error TS2339: Property 'map' does not exist on type 'Observable&lt;Response&gt;'
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/Rmdfh.png" alt="enter image description here"></p>
  
  <p>I tried every possible solution from <a href="https://stackoverflow.com/questions/37208801/property-map-does-not-exist-on-type-observableresponse?noredirect=1&amp;lq=1">Property &#39;map&#39; does not exist on type &#39;Observable&lt;Response&gt;&#39;</a></p>
  
  <p>but still the error exists.</p>