title: How can we access a property of array of objects? (Typescript)
body: <pre><code>let array = [{id:1},{id:1},{id:1},{id:1},{id:1}];
  console.log(array[0].id);
  </code></pre>
  
  <p>It is showing the id of doesn't exist.?</p>
  
  <p>The answer is we need to defined array = [any];</p>