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 {}
}
Attempts to fix #24
Not all cases might be covered by this fix, but the most common ones should be handled.