[{"data":1,"prerenderedAt":65},["ShallowReactive",2],{"tool-json-to-typescript":3},{"id":4,"title":5,"body":6,"category":47,"description":48,"extension":49,"faq":50,"featured":51,"keywords":52,"meta":54,"navigation":55,"path":56,"seo":57,"status":58,"stem":59,"tags":60,"updatedAt":63,"__hash__":64},"tools\u002Ftools\u002Fjson-to-typescript.md","JSON 转 TypeScript 类型",{"type":7,"value":8,"toc":41},"minimark",[9,13,17,20],[10,11,12],"h2",{"id":12},"规划状态",[14,15,16],"p",{},"这个工具已进入后续实现清单。首版优先完成最直接可用的格式化、编码转换和时间转换能力。",[10,18,19],{"id":19},"目标能力",[21,22,23,35,38],"ul",{},[24,25,26,27,31,32],"li",{},"根据示例对象生成 TypeScript ",[28,29,30],"code",{},"type"," 或 ",[28,33,34],{},"interface",[24,36,37],{},"支持可选字段和数组项推导",[24,39,40],{},"处理嵌套对象与联合类型的最小可用策略",{"title":42,"searchDepth":43,"depth":43,"links":44},"",2,[45,46],{"id":12,"depth":43,"text":12},{"id":19,"depth":43,"text":19},"data-debug","根据示例 JSON 推导接口和类型定义，减少手写接口时间。","md",[],false,[53],"json to ts",{},true,"\u002Ftools\u002Fjson-to-typescript",{"title":5,"description":48},"planned","tools\u002Fjson-to-typescript",[61,62],"JSON","TypeScript","2026-04-14","cgOixajTWH77XRRKH6FzyTHd3XczUv0MGwzy3JjKUeY",1776330667817]