title: How to initialize the Array<T> in typescript/angular?
body: <p>I have an Angular 8 app. </p>
  
  <p>Below is one of my models in typescript.</p>
  
  <pre><code>export class Movie
  {
    title:string;
    tickets: Array&lt;Ticket&gt;;
  }
  
  export class Ticket
  {
     name:string;
     price:number;
  }
  </code></pre>
  
  <p>In one of the components (movie), when I access the <code>movie</code> object, <code>tickets</code> is not getting initialized.</p>
  
  <p>movie.component.ts</p>
  
  <pre><code>export class MovieComponent
  {
    movieObj:Movie;
  
    constructor()
    {
      this.movieObj = new Movie();
      console.log(this.movieObj); // outputs title value but not tickets
     //console.log(this.movieObj.tickets[0].name); //undefined 
    }
  }
  </code></pre>
  
  <p>While checking the Array type in TypeScript, it's an interface. (We cannot create an object of an interface)</p>
  
  <p>How to initialize the Array in typescript/angular?</p>
  
  <p>Thanks!</p>