NativeScript / android-dts-generator

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

fix: handle ambiguous fields that class with an inner class #68

Closed rigor789 closed 2 years ago

rigor789 commented 2 years ago

Attempts to fix #24

Not all cases might be covered by this fix, but the most common ones should be handled.

export class Cast extends javalangObject {
  // this is removed after this change  
  // public static CastApi: Cast.CastApi;
}
export module Cast {
  export class CastApi extends javalangObject {}
}