Online TypeScript to Java API translator
|A zip file containing a directory per project/library, and
*.d.ts files in each directory. For instance, if you want to translate jQuery, you would have
jquery/jquery.d.ts. All dependencies should be zipped along in the zip file, except for the core and dom libraries, which are automatically added (for example, if you want to translate
bootstrap.d.ts, you also need to include
A zip file containing the translated Java source code in the JSweet format. Each input directory produces a corresponding
def/dirname directory/package with the Java files in it. The
def/dirname can be inserted in a project and compiled, or even packaged as a candy (Maven artifact). At the root of the produced zip file, you will find a
report.txt file, which contains errors and warnings reported during translation (still beta).
Warning: this service is still beta. It can fail translating some complex APIs and error reporting is still uncomplete. Contact-us if you run into trouble.