typescript2java icon indicating copy to clipboard operation
typescript2java copied to clipboard

Typescript type definition to JsInterop GWT Java types converter

Results 5 typescript2java issues
Sort by recently updated
recently updated
newest added

I got some errors when compiling it with tsc: :-( ``` ~/dev/typescript2java$ tsc prejavatypes/PreJavaTypeUnion.ts:255:35 - error TS2345: Argument of type 'Set' is not assignable to parameter of type 'Set'. Type...

While trying to convert https://github.com/apache/couchdb-nano/blob/master/lib/nano.d.ts with ``` { "sourceRootDir": "../couchdb-nano/lib", "baseJavaPackage": "com.couchdb.nano", "defaultJavaPackage": "env", "javaPackages": { "couchdb-nano": "nano", "lib":"nano" }, "processInternalTypes": false, "outputDirectory": "./out" } ``` I get a :...

Example: ```typescript totalSeconds(): number ``` generates: ```java public native Number totalSeconds(); ``` which is failing with exception in runtime. The proper working version must be: ```java public native double totalSeconds();...

I'm generating java classes for js-joda, and for some reason toString() methods are not converted to java classes. See https://github.com/js-joda/js-joda/blob/master/dist/js-joda.d.ts For example resulting DayOfWeek class has ```java public native DayOfWeek...