Skip to content

guqingming/vscode-raw-to-ts

Repository files navigation

RAW to TS

Convert JSON object to typescript interfaces

Features

Convert from clipboard (Shift + Ctrl + Alt + V)

From clipboard

Convert from selection (Shift + Ctrl + Alt + S)

From selection

Optional quotes

Optional quotes

Converter

  • Array type merging (Huge deal)
  • Duplicate type prevention
  • Union types
  • Optional types
  • Array types

Known Issues

Command failed: xclip -selection clipboard -o


Solution: sudo apt-get install xclip

Happens when linux is missing clipboard packages

Links

About

vscode-raw-to-ts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published