Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>To Ts TypeNew to Visual Studio Code? Get it now.
To Ts Type

To Ts Type

simonhe

|
692 installs
| (1) | Free
| Sponsor
to-ts-type
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

Keybindings

  • ctrl+alt+t or cmd+alt+t -> to ts type

:coffee:

buy me a cup of coffee

License

MIT

Sponsors

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