Typescript 中的 interface 和 type 到底有什么区别详解

interface VS type 你们使用 typescript 总会使用到 interface 和 type,官方规范 稍微说了下二者的区别 An interface can be named in an extends or implements clause, but a type alias for an object type literal cannot. An interface
相关文章
相关标签/搜索