JSON a TypeScript Interface

Pega JSON y genera automáticamente interfaces TypeScript: objetos anidados se dividen en interfaces separadas, tipos inferidos con precisión. 100% local.

JSON 输入
TypeScript interface
在左边粘贴 JSON
自动识别嵌套对象生成多个 interface, 共有结构会复用; 数组类型会推断元素类型, 联合类型会用 union。

Herramientas para Desarrolladores · Herramientas relacionadas