type 和 interface 的区别 type 表示类型: 能够表示非对象类型, 比如函数 合并: 支持类型的合并 场景: 涉及到复杂运算 interface 表示类型: 只能表示对象类型 继承: 支持继承其他 interface 合并: 自动合并同名 interface