title: Angular2 - HTTP RequestOptions HEADERS
body: <p>I currently have an issue with tslint and was hoping someone could point me in the right direction.</p>
  
  <p>I'm trying to send an HTTP GET request using HTTP provided by the Angular2 framework. With this request, I must specify the content-type and the bearer authentication token.</p>
  
  <p>Example of my code:</p>
  
  <pre><code>let headers = new Headers();
  let authToken = this._user.getUser().JWT;
  headers.append('Content-Type', 'application/json');
  headers.append('Authorization', `Bearer ${authToken}`);
  let options = new RequestOptions({ headers: headers });
  
  this._http.get('http://' + url '/', options)
              .timeout(3000)
              .subscribe(
                  (res) =&gt; {
  </code></pre>
  
  <p>This works, however, tslint is complaining that </p>
  
  <blockquote>
    <p>"TS2345: Argument of type '{ headers: Headers; }' is not assignable to
    parameter of type 'RequestOptionsArgs'. Types of property 'headers'
    are incompatible. Type 'Headers' is not assignable to type 'Headers'.
    Two different types with this name exist, but they are unrelated.
    Property 'keys' is missing in type 'Headers'."</p>
  </blockquote>
  
  <p>I appreciate the support.</p>