摘要: 元组字面量转键值相同的对象 用例 type Tuple = ["a",1,"3"]; type Res = TupleToObject<T> //预期: {a:"a", 1:1, 3:"3"} 实现 type TupleToObject<T extends readonly(string|numbe 阅读全文
posted @ 2026-07-08 13:42 一个行走者 阅读(13) 评论(0) 推荐(0)