摘要: in操作符作用: 遍历类型 基本用法 type roles = "tester" | "developer" | "manager"; const staffCount: { [k in roles]: number } = { tester: 100, developer: 200, manage 阅读全文
posted @ 2022-05-20 11:23 Yune_Neko 阅读(3102) 评论(0) 推荐(0) 编辑