Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/simon-he95/to-ts-type

Quickly convert the defined data structure into TS type | 将定义的数据结构快速的转换成 TS 的类型
https://github.com/simon-he95/to-ts-type

to-ts-type vscode vscode-extension

Last synced: 10 days ago
JSON representation

Quickly convert the defined data structure into TS type | 将定义的数据结构快速的转换成 TS 的类型

Awesome Lists containing this project

README

        


to ts type


English | 简体中文

Convert the data results of `copy` to `ts` type. You can directly copy the structure defined by the backend or the requested json into obj, and then use the shortcut keys to convert it into a type. This way you will get a good type hint when writing front-end code.

![demo](/assets/demo.gif)

## Keybindings
- `ctrl+alt+t` or `cmd+alt+t` -> `to ts type`

## :coffee:

[buy me a cup of coffee](https://github.com/Simon-He95/sponsor)

## License

[MIT](./license)

## Sponsors