Why doesn't TypeScript properly type Object.keys?

Open link in next tab

Why doesn't TypeScript properly type Object.keys?

https://alexharri.com/blog/typescript-structural-typing

A look at TypeScript's structural type system, and we how we can effectively use it to our benefit.