title: I am getting error TS2339: Property 'total' does not exist on type any[]
body: <p>Here is the snippet.  Please help me with this.</p>
  
  <pre><code> response: any[] = [];
  proResponse: any[] = [];
  
  
   erase(res: any[]): void {res.length = 0; this.response.total = 0; }
  
  
   onSubmit(searchForm: FormGroup) {
  
         this.showNhide = true;
         this.proResponse = [];
         this.proName = '';
         this.searchService.searchNResult(searchForm.value).subscribe((result: any[]) =&gt; {
        console.log('Result comes' + result.toString());
        this.response = result;
      }, (error: any) =&gt; {
        console.log('search result Loading Error :' + error);
      });
    }
  </code></pre>