title: Why does the request return more data than the inserted interface?
body: <p>I'm making a request for an API where it contains several values, but I don't need them all.</p>
  <p>For this I created the interfaces, to be able to type and use the correct objects.</p>
  <p>However my object is getting &quot;dirty&quot; because in addition to the interface values, it is going to the other values ​​that I didn't want from the API.</p>
  <p>What to do?</p>
  <p><strong>Example:</strong></p>
  <pre><code>IApiData {
     example 1: {
        hello: string;
     }
     example 2: [{ hello2: string; }]
  }
  </code></pre>
  <p>And then in the result of the request I get this:</p>
  <pre><code>IApiData {
     example 1: {
        hello: '1',
        hello2: '2'
     }
     example 2: [{
        hello2: '2',
        hello3: '3'
     }]
  }
  </code></pre>
  <p>In summary, what I do is this:</p>
  <p>Service request:</p>
  <pre><code>getLastFiveDays(cityLat: number, cityLng: number): Observable&lt;IWeatherLastFiveDays&gt; {
          return this.http.get&lt;IWeatherLastFiveDays&gt;(`${this.endpoint}/onecall/timemachine`, {
              headers: this.headers,
              params: {
                  dt: this.dateUtils.getLastFiveDaysInSeconds().toString(),
                  lat: cityLat.toString(),
                  lon: cityLng.toString(),
              },
          });
      }
  </code></pre>
  <p>Store effect:</p>
  <pre><code>getAllConditions$ = createEffect(() =&gt;
      this.action$.pipe(
          ofType(action.GET),
          switchMap(({ cityName, countryIsoCode, cityLat, cityLng }) =&gt;
              forkJoin([this.backendService.getLastFiveDays(cityLat, cityLng), this.backendService.getNextFiveDays(cityName, countryIsoCode, cityLat, cityLng)]).pipe(
                  map(results =&gt; {
                      const lastFiveDaysResult = results[0];
                      const nextFiveDaysResult = results[1];
  
                      return action.GET_SUCCESS({
                          weather: {
                              id: cityName,
                              nextFiveDays: nextFiveDaysResult,
                              currentDay: lastFiveDaysResult.current,
                              lastFiveDays: lastFiveDaysResult.hourly,
                          },
                      });
                  }),
                  catchError(error =&gt;
                      of(
                          action.GET_FAIL({
                              error: {
                                  status: error.cod,
                                  message: error.message,
                              },
                          })
                      )
                  )
              )
          )
      )
  );
  </code></pre>