Generate typed dictionary with a for loop using an enum as key type but without using `?` to mark undefined in TypeScript

后端 未结 0 1378
悲&欢浪女
悲&欢浪女 2020-12-24 11:28

The problem is that I want to use enum as key for a dictionary but I want to dynamically generate the entries using a loop. But I will prefer not to use ? opera

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