TypeScript – Enumerating object properties with Object.keys
![](https://www.darchuk.net/wp-content/uploads/2019/06/checklist-2077020_640.jpg)
One of the benefits of JavaScript (and therefore TypeScript) is being able to do whatever you want with objects. This can be dangerous, of course, because of type promiscuity – which is one thing that TypeScript addresses. via GIPHY Object.keys Sometimes it is still useful to just loop through each property on an object in … [Read more…]