title: Angular 6: Property 'map' does not exist on type 'Observable<Response>'
body: <p>Property 'map' does not exist on type. I am Trying to import 'rxjs' module different way but it does not work.</p>
  
  <pre><code>import 'rxjs/add/operator/map';
  import 'rxjs/add/operator/catch';
  
  list(){
      return this.http.get(endpoint)
          .map(responce=&gt;responce.json())
          .catch(this.handleError)
    }
  </code></pre>