Destruct an object type into an “or” type

前端 未结 0 1164
醉梦人生
醉梦人生 2021-01-29 07:05

Does Typescript support type/interface "destructing" (if I can call it that)
So I\'m trying to do something along the following line:

type SomeRan         


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