Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 的类型
- Host: GitHub
- URL: https://github.com/simon-he95/to-ts-type
- Owner: Simon-He95
- License: mit
- Created: 2023-12-06T14:53:19.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-29T14:46:21.000Z (3 months ago)
- Last Synced: 2024-07-29T19:51:56.245Z (3 months ago)
- Topics: to-ts-type, vscode, vscode-extension
- Language: TypeScript
- Homepage:
- Size: 14.5 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
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