Loop only certain key of a class in typescript

后端 未结 0 2010
耶瑟儿~
耶瑟儿~ 2020-12-08 02:59

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.

This is my idea:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题