-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
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
Classes java.* do not include dots between them eg. javalangObject #18
Comments
@roblav96 does this cause TypeScript compiler errors? If it doesn't , then when using it it will appear as though This is done to work around a TypeScript limitation described here |
@Pip3r4o yes the It just seems that generating declarations for libraries are becoming more difficult to do. Plus my IDE |
@roblav96 From what I gather - you want to make the typings generation incremental, that it retains knowledge of previously generated typings, so that it won't make dupes. The generator and API used are much simpler, and do not allow this at the time. Also, instead of condensing the separate classes you could generate one file, then feel free to Unfortunately at this time we are faced with a few technical limitations that I have no idea how to tackle, there will always be a trade-off, and there is no universal solution to all the problems concerning Java typings in JavaScript. We do however appreciate suggestions, so if you've got one that can eliminate the module-hijacking one mentioned earlier, comply with TypeScript and Java standards, and be iterative, I'd love to hear it. tl;dr - The generator is meant to help you develop, but is in no way a huge universal tool that can translate all of Java. It is a work in progress, and it should get better with all of the community's help that we can get. |
@Pip3r4o I must say you've done an amazing job with this so far! Please don't think I'm bashing any of your work. This is an absolutely critical tool for my development and I'm just letting you know what I've come across while using it. Thank you for this tool! I have debated not using I would love to help with this project. What kind of community support are you looking for? |
Recently updated to the latest generator and I'm noticing that many times
java.*
classes do not include periods.I notice you create a reference outside the
module
declarations but most of the time they are not included:The text was updated successfully, but these errors were encountered: