In angular, I am defining an interface and use it with an observable in a service but it doesn't give any error when the upcoming response is different from the interface
Interface
export interface Quote {
    abc: string;
}
Service
import { Injectable } from '@angular/core';
import { HttpClient, HttpErrorResponse } from '@angular/common/http';
import { Quote } from './Quote';
import { Observable } from 'rxjs';
import { catchError } from 'rxjs/operators';
@Injectable()
export class First {
    constructor(private http: HttpClient) { }
    getFirst() {
        return this.http.get<Quote>('https://programming-quotes-api.herokuapp.com/quotes/id/5a6ce86f2af929789500e824')
    }
    handleError(err: HttpErrorResponse) {
        console.log('here' + err.message);
        return Observable.throw(err.message + 'ssaa');
    }
}
component that uses the service
import { Component, Input, OnChanges, SimpleChanges, OnInit } from "@angular/core";
import { First } from './first.service';
import { Quote } from '@angular/compiler';
@Component({
  templateUrl: "Number.component.html",
  styleUrls: ["Number.component.css"],
  selector: "Number",
  providers: [First]
})
export class NumberComponent implements OnInit {
  constructor(private first: First) { }
  ngOnChanges(changes: SimpleChanges): void {
    for (let property in changes) {
      console.log(`${property} ${changes[property].currentValue} ${changes[property].previousValue}`)
    }
  }
  ngOnInit() {
    this.first.getFirst().subscribe((result) => console.log(result));
  }
  @Input('ab')
  numberIn: number = 1;
}
So my question is how everything is working without any error given that the upcoming response is in this shape
{_id: "5a6ce86f2af929789500e824", sr: "Jedan od mojih najproduktivnijih dana je bio kada sam bacio 1000 linija koda.", en: "One of my most productive days was throwing away 1,000 lines of code.", author: "Ken Thompson", source: "", …}