Create an object type in Typescript derived from another object's values using a generic type

前端 未结 0 636
抹茶落季
抹茶落季 2020-12-31 14:04

How can you generically construct a type derived from an object following the format below:

export const IMMEDIATE_FAMILY_MEMBERS_LIST_FIELDS = [
  { name: \'         


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