Alcantara
Results
4
comments of
Alcantara
it's necessary, hope for it!
个人认为两种场景可能会使用到itype而不能用interface: 1. 具体定义数组每个位置的类型 `type PetList = [Dog, Pet]` 2. 限定具体几个值的基本类型联合类型 `type someAnimal = 'dog' | 'cat'`
对的。感谢指点迷津。
@peachtang 我也遇到了,你解决了吗?