I would like to loop only certain keys of a class. I don\'t want to use index signature [key:string]:any since it is not recommended.
[key:string]:any
This is my idea: