Check out example codes for "is missing the following properties from type 'HttpResponse<NavbarLinks>': body, type, clone, headers, and 4 more". It will help you in understanding the concepts better.

Code Example 1

public getProducts(): Observable<Product[]> {
    return this.http.get<Product[]>(`api/products/v1/`);
}

Learn ReactJs, React Native from akashmittal.com