title: Angular HttpClient get do text, not json
body: <p>I am trying to disable automated response parsing into <code>json</code> for my <code>get</code> request in my <code>HttpClient</code> following the <a href="https://github.com/angular/angular/blob/6c1ab479ee07c9e80afefbb1c50d8fb000c7a9fa/packages/common/http/src/client.ts#L934" rel="nofollow noreferrer">API</a>. However, every time I set</p>
  <pre><code>return this.http.get(requestURL, {
    responseType: 'text'
  }).pipe(
    map((response: Response) =&gt; {
      console.log(response);
    })
  );
  </code></pre>
  <p>my VSCode terminal flares up the <code>pipe</code> and including bracket in red and I get</p>
  <pre><code>error TS2345: Argument of type 'OperatorFunction&lt;Response, void&gt;' is not assignable to parameter of type 'OperatorFunction&lt;string, void&gt;'
  </code></pre>
  <p>??? I am following the documentation. Am I on the wrong version?</p>
  <p>------ EDIT ------</p>
  <p>After suggestion below I get this</p>
  <pre><code>map((response: Response) =&gt; {
      return this.parseData(response.text());
  })
  
  error TS2345: Argument of type 'Promise&lt;string&gt;' is not assignable to parameter of type 'string'.
  </code></pre>
  <p>[ng]       Type 'Response' is not assignable to type 'string'.
  Did you forget to use 'await'?</p>
  <p>Where <code>parseData</code> takes string as input.</p>