欢迎您来到NexusTools工具箱
欢迎您使用我们的NexusTools工具箱,有任何工具问题可联系开发者微信:Xiaole_920
NexusTools
首页
工具
特性
关于
首页
开发工具
JSON转TS
JSON转TS
JSON自动生成TypeScript接口
接口名称:
可选属性 (?)
导出 (export)
使用 type 替代 interface
JSON 数据
{ "id": 1, "name": "John Doe", "email": "john@example.com", "age": 30, "isActive": true, "roles": ["admin", "user"], "profile": { "avatar": "https://example.com/avatar.jpg", "bio": "Hello world" }, "tags": [ {"id": 1, "name": "developer"}, {"id": 2, "name": "designer"} ], "createdAt": "2024-01-01T00:00:00Z" }
TypeScript 接口
转换
格式化JSON
清空
按
ESC
关闭 ·
Ctrl
+
K
打开
输入关键词搜索工具