Typescript conditional fields in interfaces

前端 未结 0 1787
[愿得一人]
[愿得一人] 2020-12-13 15:02

I want to create a type that changes based on the appearance of a field, for example:

export interface Point {
  x_name         


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