title: Angular HttpClient Expected 0 type arguments, but got 1
body: <p>I have a service where I perform http requests to my API and then I made services for other purposes that passes url's to the http request service. But when I try to add a model to my <code>get</code> request I get the <code>Expected 0 type arguments, but got 1</code> error.</p>
  
  <p><strong>calendar.service.ts</strong></p>
  
  <pre><code>import { Injectable } from '@angular/core';
  import { Observable } from 'rxjs';
  // WebReq for http requests 
  import { WebRequestService } from './web-request.service';
  import { ICalendarEvent } from '../../models/calendar-event.model';
  
  
  @Injectable({
      providedIn: 'root',
  })
  
  export class CalendarService {
  
      constructor(private webReqService: WebRequestService) { }
  
      // Where I get the error
      getCalendarEvent(): Observable&lt;ICalendarEvent[]&gt; {
          return this.webReqService.get&lt;ICalendarEvent[]&gt;('/calendars');
      }
  
  }
  </code></pre>
  
  <p><strong>web-request.service.ts</strong></p>
  
  <pre><code>import { Injectable } from '@angular/core';
  import { HttpClient } from '@angular/common/http';
  
  @Injectable({
    providedIn: 'root'
  })
  export class WebRequestService {
  
    readonly _url: string;
  
    constructor(private http: HttpClient) {
      this._url = 'some url';
    }
  
    get(uri: string) {
      return this.http.get(`${this._url}/${uri}`);
    }
  
    post(uri: string, payload: Object) {
      return this.http.post(`${this._url}/${uri}`, payload);
    }
  
    patch(uri: string, payload: Object) {
      return this.http.patch(`${this._url}/${uri}`, payload);
    }
  
    delete(uri: string) {
      return this.http.delete(`${this._url}/${uri}`);
    }
  
  
  }
  </code></pre>
  
  <p><strong>calendar-event.model.ts</strong></p>
  
  <pre><code>export interface ICalendarEvent {
      id: number;
      start: string;
      end: string;
      title: string;
      estimate_number: string;
      brand: string;
      meters: string;
      floor: string;
      floor_type: string;
      plint_type: string;
      floor_installer: number;
      city: string;
      street: string;
      postal_code: string;
      province: string;
      notes: string;
  }
  </code></pre>