Skip to content

Commit

Permalink
make prefs fillPreferencesWindow optionally async, so allowing also n…
Browse files Browse the repository at this point in the history
…on async implementations
  • Loading branch information
Totto16 committed Sep 25, 2024
1 parent a1a5431 commit e5bc692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gnome-shell/src/extensions/prefs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class ExtensionPreferences extends ExtensionBase {
*
* @param {Adw.PreferencesWindow} window - the preferences window
*/
fillPreferencesWindow(window: Adw.PreferencesWindow): Promise<void>;
fillPreferencesWindow(window: Adw.PreferencesWindow): Promise<void> | void;
}

export declare const gettext: TranslationFunctions['gettext'];
Expand Down

0 comments on commit e5bc692

Please sign in to comment.