title: Type {...} is missing the following properties from type 'any[]': length,pop,push,concat, and 28 more
body: <p>I have this error:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>    Type {...} is missing the following properties from type 'any[]': length,pop,push,concat, and 28 more</code></pre>
  </div>
  </div>
  </p>
  <p>I'm assigning album variable to the albumData array. Here is the code:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import { Component, OnInit } from '@angular/core';
  import albumData from '../data/SearchResultsAlbum.json';
  
  @Component({
    selector: 'app-album-component',
    templateUrl: './album-component.component.html',
    styleUrls: ['./album-component.component.css']
  })
  export class AlbumComponentComponent implements OnInit {
  
    album:Array&lt;any&gt;=[];
    
    constructor() { }
  
    ngOnInit(): void {
      
      this.album=albumData;
    }
  
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>What am I doing wrong? Thank you in advanvce!</p>