/vscode-json-to-ts

VSCode extension - Convert JSON object to typescript interfaces

Primary LanguageTypeScript

From clipboard

JSON 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