Conditional types from TypeScript in Scala

后端 未结 0 1611
广开言路
广开言路 2021-02-10 05:15

TypeScript has a feature called conditional types

type Foo = Dog extends Animal ? number : string;

Are the

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