Assigning matching key from custom type to local property

前端 未结 0 440
半阙折子戏
半阙折子戏 2021-01-14 07:47

So I have a custom class that has keys matching the keys of another class. It\'s set up kind of like this:

export class MyOptions {
    option1: string;
             


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