title: How would I initialize a dictionary
body: <p>Say I have such a dictionary in my <code>class</code>:</p>
  
  <pre><code>entities: { [id: string]: string}
  </code></pre>
  
  <p>I am trying to assign the values this way:</p>
  
  <pre><code>this.entities = [
    {['xyz']: 'string1' },
    {['qaz']: 'string2' } 
  ]
  </code></pre>
  
  <p>Just didn't work that way. Can you help to figure out?</p>