Skip to content
This repository was archived by the owner on Sep 18, 2023. It is now read-only.

jonthemiller/json2typescript-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json2typescript-example

This is a repo demonstrating the json2typscript array property decorators work outside of nuxt.

Dependencies

Requires typescript (tsc) to be installed - I ran this using 3.7.4. Node is also needed, I ran this using 10.5.0.

Setup

# install dependencies
$ npm install
# compile ts files
$ tsc
# run index
$ node index.js

Expected output:

$ node index.js
Obj { items: [ Item { bar: 'somestring' } ] }
foo somestring

About

repo demonstrating json2typecript decorators working outside of Nuxt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors