How to build an Angular 8 app from scratch in 11 easy steps [process error]

this fixed overload error but the API is still not loading up and i added the any[] array into the code

import { Component, OnInit } from '@angular/core';
import { ApiService } from '../api.service';
@Component({
  selector: 'app-home',
  templateUrl: './home.component.html',
  styleUrls: ['./home.component.css']
})
export class HomeComponent implements OnInit {
  products = [];
  constructor(private apiService: ApiService) { }
  ngOnInit() {
this.apiService.get().subscribe((data: any[]) => {
console.log(data);
this.products = data;
});
}

}

on the line this.products=data;
Type ‘any’ is not assignable to type ‘never’.
Type ‘any’ is not assignable to type ‘never’.ts(2322)
this is the error i got in home .component.ts file