title: Type 'URLSearchParams' is not assignable to type 'URLSearchParams'
body: <p>I want to send a http.get request with some search parameters to my webapi to get a list of students. I found some examples on how to do this, but after doing exactly as in the examples, I get this weird error:</p>
  <pre><code>Type 'URLSearchParams' is not assignable to type 'URLSearchParams'. Two different types with this name exist, but they are unrelated.
  Property 'rawParams' is missing in type 'URLSearchParams'.
  </code></pre>
  <p>Here's my component:</p>
  <pre><code>import { Injectable } from '@angular/core';
  import { Http, Headers, Response, RequestOptions } from '@angular/http';
  import 'rxjs/add/operator/map'
  import { User } from '../_models/user';
  
  @Injectable()
  export class UserService {
  
  options = new RequestOptions({ 'headers': new Headers({ 'Content-Type': 'application/json' })});
  
  constructor(private http: Http) {
  }
  
  createAccount(newUser: User){
  return this.http.post('http://localhost:64792/api/students', JSON.stringify(newUser), this.options)
  .map((response: Response) =&gt; {              
      if(response.ok){
          console.log(&quot;Registration was a success&quot;);
          return true;
       } else {
           console.log(&quot;Registration failed&quot;);
           return false;
        }
   });
  }
  
  searchStudents(searchWords: Array&lt;string&gt;){
  // Parameters obj-
   let params: URLSearchParams = new URLSearchParams();
   for(let i = 0; i &lt; searchWords.length; i++){
   params.append('searchWords', searchWords[i]);
   }
   this.options.search = params;
   //Http request-
  }
  } 
  </code></pre>
  <p>What could be causing this error?</p>