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
Gio.ActionMap.add_action_entries
The function is overridden in GJS at https://gitlab.gnome.org/GNOME/gjs/-/blob/master/modules/core/overrides/Gio.js?ref_type=heads#L827.
The correct type should be something like this:
export type ActionEntry = { name: string; parameter_type?: string; state?: string; activate?: ( _source: Gio.SimpleAction, parameter: GLib.Variant | null, ) => void; change_state?: ( _source: Gio.SimpleAction, value: GLib.Variant | null, ) => void; }; export type AddActionEntries = (entries: ActionEntry[]) => void;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The function is overridden in GJS at https://gitlab.gnome.org/GNOME/gjs/-/blob/master/modules/core/overrides/Gio.js?ref_type=heads#L827.
The correct type should be something like this:
The text was updated successfully, but these errors were encountered: