`Requires` property is missing on `MetaInfo`
naipotato opened this issue · 2 comments
naipotato commented
As can be seen here, GJS takes a Requires
property in the meta info object passed to GObject.registerClass
when defining interfaces.
I don't really have an idea of the type for this property, other than an array. Perhaps it can be similar to Implements
?
JumpLink commented
@naipotato The GitHub search is very useful to find out the type for this :)
Adding corrected types is comparably easy in this case, because many types for the overrides are defined by hand, see: https://github.com/gjsify/ts-for-gir/blob/main/packages/generator-typescript/templates/gjs/gobject-2.0.d.ts#L212
JumpLink commented
@naipotato Should be fixed with version 4.0.0-beta.19. Feel free to try it out and open the ticket again if you have problems :)