Awesome
To run
sudo npm install -g typescript
(if you havn't already)sudo npm install -g JSV
(needed for validation)git clone https://git01.codeplex.com/typescript
tsc --out ifacejson.js typescript/src/compiler/parser.ts convert.ts
tsc example.ts
node example.js
Superseded by: https://github.com/lbovet/typson
A similar converter from TypeScript to JSON Schema, implemented in Java instead of JS, can be found on https://github.com/vorburger/eclipse-typescript-xtext + https://github.com/lbovet/wtype.