How can create a generic type that is a combination of other types in TypeScript?

前端 未结 0 751
滥情空心
滥情空心 2021-02-04 08:36

Let\'s say I want to create a UserResponse type that looks something like this:

type UserResponse = {
  data:          


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