Typescript: Ensure all interface properties are specified when using `as` keyword

后端 未结 0 1170
耶瑟儿~
耶瑟儿~ 2021-02-06 10:11

I have found lots of posts about how to make optional properties of a typescript interface possible, but I want it the other way around, make all of them mandatory.

The o

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