I’m trying to use the typescript types definitions from the @girs repositories together with some jsdoc.
Most of it seems good, except for the signal functions connectObject and disconnectObject.
Leading to a lot of complaints from tsserver.
I presume these methods are attached at runtime – somewhere.
As far as I understand – there is no nice way of augmenting GObject.Object if I want to include these definitions.
And I would need to edit the type definition file directly.