Why doesn't TypeScript properly type Object.keys?
Nice explanation!Although I’m surprised there is no mention of the best solution for iterating both keys and values:for (const [key, val] of Object.entries(obj)) {
  console.log(key, val)
}https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...