Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>kuki-auto-typeNew to Visual Studio Code? Get it now.
kuki-auto-type

kuki-auto-type

kuki

|
21 installs
| (0) | Free
从 json 格式导出 typescript 类型
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

kuki-auto-type 版本

vscode插件, 根据 javascript 字面量生成 typescript 类型.

GIF

安装

在vscode商店中搜索"kuki-auto-type".

使用(3步)

第1步

按"F1"键, 在控制台输入"generate" 找到"⚡ generate typescript type (生成ts类型)",回车.

image

第2步

在新弹出的输入框中输入JSON数据.

1

第3步

回车, "类型"会自动插入类型到编辑器.

2

计划

  • [x] 输入接口地址, 发起http请求, 解析返回值.

🍭有更好的想法请留言

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft