title: Angular 2 declaring an array of objects
body: <p>I have the following expression:</p>
  
  <pre><code>public mySentences:Array&lt;string&gt; = [
      {id: 1, text: 'Sentence 1'},
      {id: 2, text: 'Sentence 2'},
      {id: 3, text: 'Sentence 3'},
      {id: 4, text: 'Sentenc4 '},
  ];
  </code></pre>
  
  <p>which is not working because my array is not of type <code>string</code> rather contains a list of objects. How I can delcare my array to contain a list of objects?</p>
  
  <p>*without a new component which declaring the a class for sentence which seem a waste</p>