title: How to convert array of Object into key/value pair typescript
body: <p>Currently I'm getting data in the format below:</p>
  
  <pre><code>arr=[
         0: {abc:1},
         1: {efg:2},
         2: {hij:3}
      ]
  </code></pre>
  
  <p>I need it in below format:</p>
  
  <pre><code>arr=[
        {name:'abc', value:1},
        {name:'efg', value:2},
        {name:'hij', value:3}]
  </code></pre>