is it possible to create dynamic properties to a class?

前端 未结 0 802
予麋鹿
予麋鹿 2021-01-31 23:26

I am wrapping an enum in a class so I can map its values in TypeScript

enum Color {
    RED = 0,
    GREEN = 1,
    BLUE =          


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