title: "No overload matches this call" in Angular 11
body: <p>I was doing an Angular tutorial, when I ran into the following error in the <code>home.component.ts</code> file:</p>
  <blockquote>
  <p>No overload matches this call.
  Overload 1 of 5, '(observer?: PartialObserver&lt;HttpResponse&gt;): Subscription', gave the following error.
  Argument of type '(data: any[]) =&gt; void' is not assignable to parameter of type 'PartialObserver&lt;HttpResponse&gt;'.
  Property 'complete' is missing in type '(data: any[]) =&gt; void' but required in type 'CompletionObserver&lt;HttpResponse&gt;'.
  Overload 2 of 5, '(next?: (value: HttpResponse) =&gt; void, error?: (error: any) =&gt; void, complete?: () =&gt; void): Subscription', gave the following error.
  Argument of type '(data: any[]) =&gt; void' is not assignable to parameter of type '(value: HttpResponse) =&gt; void'.
  Types of parameters 'data' and 'value' are incompatible.
  Type 'HttpResponse' is missing the following properties from type 'any[]': length, pop, push, concat, and 26 more.</p>
  </blockquote>
  <p>I have looked it up, but have been unable to find any solutions to this issue.  I have tried to to disable <code>strict</code>, <code>noImplicitAny</code>, <code>noImplicitReturns</code> in the <code>tsconfig.json</code>, but they have not solved this issue.  I would prefer if there was a solution to this issue while keeping all three settings on <code>true</code> in the <code>tsconfig.json</code> file.</p>
  <p>Any help would be appreciated.</p>
  <p>Thanks</p>
  <p><strong>EDIT:</strong> The error occurs in the <code>home.component.ts</code> file when dealing with the data after the AJAX call:</p>
  <pre><code>this.dataService.sendGetRequest().subscribe(data: any[] =&gt; {
        this.products = data;
      });
    }
  </code></pre>