GithubHelp home page GithubHelp logo

any86 / any-type Goto Github PK

View Code? Open in Web Editor NEW
33.0 2.0 0.0 181 KB

一键 JSON 转 Typescript 类型.

Home Page: https://marketplace.visualstudio.com/items?itemName=russell.any-type

License: MIT License

TypeScript 85.44% JavaScript 14.56%
typescript vscode types

any-type's Introduction

any-type 版本

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

GIF

安装

在vscode商店中搜索"any-type".

使用(3步)

第1步

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

image

第2步

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

1

第3步

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

2

计划

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

🍭有更好的想法请留言

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.