Skip to content
VSCode extension - Convert JSON object to typescript interfaces
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode 0.1.0 Apr 22, 2017
images change images Apr 24, 2018
src 0.1.1 Apr 22, 2017
test initial release Apr 17, 2017
.gitignore first init Apr 16, 2017
.vscodeignore first init Apr 16, 2017
CHANGELOG.md update try online Nov 21, 2017
README.md change images Apr 24, 2018
icon.png initial release Apr 17, 2017
package-lock.json change images Apr 24, 2018
package.json version bump Apr 24, 2018
tsconfig.json first init Apr 16, 2017

README.md

From clipboard

JSON to TS

Convert JSON object to typescript interfaces

Try it Online

Features

Convert from clipboard (Ctrl + Alt + V)

From clipboard

Convert from selection (Ctrl + Alt + S)

From selection

Optional quotes

Optional quotes

Image comparison to similar extension "json2ts" (0.0.6)

Converter

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

Installation

ext install json-to-ts

Known Issues

Command failed: xclip -selection clipboard -o


Solution: sudo apt-get install xclip

Happens when linux is missing clipboard packages

Links

You can’t perform that action at this time.