摘要: We start with three interface types: User, Organisation, and Product. These types share common properties: id, name, and imageId, but each also posses 阅读全文
posted @ 2024-07-11 14:50 Zhentiw 阅读(4) 评论(0) 推荐(0) 编辑
摘要: One common question is whether to use type or interface in TypeScript. To clarify the difference, type can represent anything, including objects, wher 阅读全文
posted @ 2024-07-11 14:30 Zhentiw 阅读(7) 评论(0) 推荐(0) 编辑