That issue came from fecthapi.js

Other files have other issues.

> On Feb 18, 2026, at 12:32 PM, Yishay Weiss <[email protected]> wrote:
> 
> Which externs file are you using?
> ________________________________
> From: Harbs <[email protected]>
> Sent: Wednesday, February 18, 2026 12:12 PM
> To: Apache Royale Development <[email protected]>
> Subject: typedefs
> 
> I’m trying to add more js typedefs and I’m running into issues.
> 
> One issue I just ran into is:
> 
> /** @type {boolean} */
> Body.prototype.bodyUsed;
> 
> 
> /** @override */
> Request.prototype.bodyUsed;
> 
> /** @override */
> Response.prototype.bodyUsed;
> 
> 
> Request and Response both:
> * @implements {Body}
> 
> When compiling, we get an error because the Request and Response 
> setters/getters are typed to “Object”, while the Body ones are correctly 
> types as Booleans.
> 
> It seems like externc does not find the inherited types using @implements.
> 
> Is this a bug? Something not implemented? Is it easy to fix?
> 
> We can add more files to the list we maintain in royale-extras, but I’d like 
> to reduce that rather than increase it.
> 
> Thoughts?
> 
> Harbs

Reply via email to