Is it possible to generate combinatoric set from a discriminated union type?

后端 未结 0 1846
既然无缘
既然无缘 2021-02-03 11:56

Is it possible to process a discriminated union to get a combinatorics set of (the literal) values?

interface Foo {
  type: \'Car\';
  color: \'red\';
}

interfac         


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