jtsgen icon indicating copy to clipboard operation
jtsgen copied to clipboard

Convert Java Types to TypeScript

Results 12 jtsgen issues
Sort by recently updated
recently updated
newest added

Hi Dragan, Thanks for this excellent project! We are building typescript code that interoperates with java through a browser embedded in the Java UI (https://www.teamdev.com/jxbrowser). jtsgen is perfect for keeping...

Hi, Great work! but, i need quite more, for example ```java public class MyClass{ /** * secret field with comments */ String myfield; } ``` ==> ```ts interface MyClass{ /**...

Some tests are really repetitive. And in the end, the rexexp are not readable, so instead of this the tests should: - be configured by file, e.g. JSON - the...

Hi Dragan! We had the need for a better type parameter handling recently, so I added a type parameter evaluation for super types. My use case is quite tricky, I'm...

There a several use cases having classes instead of interfaces: - creating objects adhering a generated interface is a bit cumbersome (either using partial or filling up all values) -...

enhancement

The Type Variable is not generated: Example: ``` interface Bla { val bla:Int } @TypeScript interface BlaBla : Bla { val blabla:Int } ``` Leads to ``` export interface Bla...

bug
to do

When using Jackson and the @JsonProperty annotation to rename properties, jtsgen generates interfaces with wrong name. Example: ``` @Typescript data class Foo( @JsonProperty("foo_bar") @get:JsonProperty("foo_bar") val bar: String ) ``` generates:...

The name of this type misleading. It should be renamed to something like TypeMapInfo. It also represents a kind of type, but not a used one. During: #46

This is a followup of #28. Direct only type mapping should also be supported. But maybe this is not needed. At first a proper use case should be defined for...

enhancement
question

I my opinion the name `jtsgen` is not a good one to remember, because pronunciation is a bit awkward. The new name should be * short * easy to pronounce

help wanted
question
good first issue