Object Destructuring: no matching index signature for string

前端 未结 0 406
夕颜
夕颜 2021-01-15 02:24

I\'m trying to write a code that receives a string variable and gets the property with that name, but I attempted using object destructuring like so:



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