We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requires
MetaInfo
As can be seen here, GJS takes a Requires property in the meta info object passed to GObject.registerClass when defining interfaces.
GObject.registerClass
I don't really have an idea of the type for this property, other than an array. Perhaps it can be similar to Implements?
Implements
The text was updated successfully, but these errors were encountered:
@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
Sorry, something went wrong.
No branches or pull requests
As can be seen here, GJS takes a
Requires
property in the meta info object passed toGObject.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
?The text was updated successfully, but these errors were encountered: