这些语句(接口与类型)之间有什么区别?
interface X { a: number b: string } type X = { a: number b: string };
typescript
typescript ×1