TypeScript loop over key value code example
Example: object iteration in typescript
Object.entries(obj).forEach(
([key, value]) => console.log(key, value);
);
Object.entries(obj).forEach(
([key, value]) => console.log(key, value);
);