Re:JSweet: A transpiler from Java to TypeScript/JavaScript
by renaudpawlak on Wednesday December 16, 2015 @07:53AM
(#10743913)
Well it is already done in JSweet: checkout these APIs http://www.jsweet.org/candies-snapshots/
It is all compiled and deployed as Maven artifacts on our repo. And we even give access to all the JavaDocs if you follow the links to the end... checkout this Angular JavaDoc for instance: https://jsweet.org/apidocs/snapshots/org/jsweet/candies/angu...
Let us know if you are interested in collaborating on this (never hurts asking).
Generating Java interfaces from TypeScript is coming soon. We have done this in the past from WebIDL in the Elemental library provided by GWT.
A new tool which can do it from WebIDL, Closure JsDoc, or Typescript (all three) is being developed.