title: How to use TypeScript with Object.entries()?
body: <p>I've recently began using TypeScript on my own projects, though I'm not sure how I should go about getting my code to work.</p>
  
  <pre><code>Object.entries(data[`set_${id}`].tiles).map(([tileType, tiles]) =&gt; (
    tiles.map(([left, top]), index) =&gt; (
       //rest of code
    )
  ))
  </code></pre>
  
  <p>TypeScript is complaining that left, top, and index all have 'any' type. How can I go about assigning types in this configuration?</p>
  
  <p>data.json Structure: </p>
  
  <pre><code>{
    "set_1": {
      "tiles": {
         "typeA": [[0, 1], [0, 2]],
         "typeB": [[2, 0], [2, 1]]
      }
    }
  }
  </code></pre>
  
  <p>Any advice would be greatly appreciated.</p>
  
  <p>Thanks!</p>