ts中定义对象类型有两种方式,interface和type,能用interface用interface,用不了再用type
typescript 中的 interface 和 type 到底有什么区别?