NativeScript / android-dts-generator

A tool that generates TypeScript declaration files (.d.ts) from Jars
90 stars 23 forks source link

Support generic (non-Android) uses #70

Open phudson opened 2 years ago

phudson commented 2 years ago

I've been using this for development with Rhino (JS engine in Java) which provides access to Java libraries.

I had to manually hack the output somewhat (there's no concept of Native.Array for example)

It would be great if there was an option to make the generator produce more "vanilla" Typescript definitions. Any chance?

I can possibly help with the implementation.

phudson commented 1 year ago

I've largely got this working. When I work out how to submit a pull request, I will do one.