title: No overload matches this call. The last overload gave the following error. Type '"text"' is not assignable to type '"json"'
body: <p>I am trying to GET a HTML page from my API using Angular with JWT tokens in the header. But if I don't specify the text type the compiler spits out a cannot parse error (it tries to parse the HTML as JSON then), so I need to specify my response type.</p>
  
  <p>Here is my component.ts:</p>
  
  <pre><code>  httpOptions = {
      headers: new HttpHeaders({
        'Content-Type':  'application/json',
        'Authorization': 'Bearer TOKENHERE'
      })
    };
    constructor(private http: HttpClient) { }
  
    ngOnInit() {
  
  
    }
    fetchDashboard() {
      this.http.get('http://localhost:3000/avior/dashboard', {responseType: 'text', this.httpOptions,}).subscribe(j =&gt; console.log(j));
  }
  }
  </code></pre>
  
  <p>I tried removing or changing the content-type to text/html without any avail.</p>
  
  <hr>
  
  <p>My API Response:</p>
  
  <p><code>&lt;html&gt;&lt;head&gt;&lt;title&gt;Dashboard&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;h1&gt;Dashboard works!&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;</code></p>