title: Define Interface containing array of objects
body: <p>I have an object that is used in many parts of my code so I want to export it as an interface. My object is like this :</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> trueFalse: {'itemList' : Array&lt;{'text'; 'value'}&gt;} = {
      itemList: [
        {text: 'foundItem', value: true},
        {text: 'foundItem', value: false}
      ]
    };</code></pre>
  </div>
  </div>
  </p>
  
  <p>I tried to import it this way but it doesn't work :  </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>export interface ITrueFalse {
    text: string = 'foundItem',
    value: boolean
    itemList: Array&lt;{'text';'value'}&gt;
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want to implement the above interface in some way like this:</p>
  
  <pre><code>trueFalse: {'itemList' : ITrueFalse} = {
      itemList : [{},{}]
  ;
  </code></pre>
  
  <p>As you can see I don't have much idea of typescript interfaces. I've only done basic type definition. So I don't know what I'm doing wrong. Thank you for any suggestions :)</p>