From e5bc692bf04f1078369f5f9a587ef62e62c3943c Mon Sep 17 00:00:00 2001 From: Totto16 Date: Thu, 26 Sep 2024 00:07:37 +0200 Subject: [PATCH] make prefs fillPreferencesWindow optionally async, so allowing also non async implementations --- packages/gnome-shell/src/extensions/prefs.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gnome-shell/src/extensions/prefs.d.ts b/packages/gnome-shell/src/extensions/prefs.d.ts index 10d1693..8649890 100644 --- a/packages/gnome-shell/src/extensions/prefs.d.ts +++ b/packages/gnome-shell/src/extensions/prefs.d.ts @@ -26,7 +26,7 @@ export class ExtensionPreferences extends ExtensionBase { * * @param {Adw.PreferencesWindow} window - the preferences window */ - fillPreferencesWindow(window: Adw.PreferencesWindow): Promise; + fillPreferencesWindow(window: Adw.PreferencesWindow): Promise | void; } export declare const gettext: TranslationFunctions['gettext'];