Thursday, September 28, 2017

Typescript annotations to JsInterop java classes automatic generation tool ready

Hi everyone,

I made up and published today a tool which uses Typescript type definitions (.d.ts) and generates the corresponding JsInterop classes for use inside a GWT application (or JaCL when available).

The tool is here : https://github.com/ltearno/typescript2java

I use it to translate the full Angular 4 API (2000+ classes) into JsInterop and get a working code. It can also generate the standard web api from 'lib.es6.d.ts' and generate something that ressembles Elemental2 a lot!

I am interested to help if people want to use it or have some other use cases (wrapping D3.js or any other library available on 'definitely typed'). So don't hesitate to file an issue on github... Or to answer here!

Thanks
Arnaud

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment