Typing const from rest param in destructured object

后端 未结 0 1473
故里飘歌
故里飘歌 2020-12-22 01:05

I\'m trying to explicitly type a const which is created using a rest param in a destructured object. I can see that typescript can infer that it will have all the properties

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