We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I tried to convert a Java class that used generics, and when I ran java2typescript it replaced every <E> with <java.lang.Math.E>
<E>
<java.lang.Math.E>
I've made a simple example:
public class Example { public static <E> E getSame(E obj) { return obj; } }
And here is the generated code:
export class Example extends JavaObject { public static getSame <E>(obj: java.lang.Math.E| null): java.lang.Math.E | null { return obj; } }
The text was updated successfully, but these errors were encountered:
I also saw recently that I introduced a serious regression in one of the last patches. Many symbols are resolved in a wrong way. Need to investigate.
Sorry, something went wrong.
No branches or pull requests
Hello, I tried to convert a Java class that used generics, and when I ran java2typescript it replaced every
<E>
with<java.lang.Math.E>
I've made a simple example:
And here is the generated code:
The text was updated successfully, but these errors were encountered: