Skip to content

VSCode extension - Convert JSON object to typescript interfaces

Notifications You must be signed in to change notification settings

SquareByte/vscode-json-to-ts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

VSCode extension - Convert JSON object to typescript interfaces

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%