Typescript take only properties defined in Interface

后端 未结 0 909
情歌与酒
情歌与酒 2021-01-20 20:40

I\'m a beginner to Typescript, and I have a case in which I\'m assigning an object to another object that follows an interface that I\'ve defined. The problem is that the re

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