From 91a74ed063d76498b0c0472861d9d969933e7b44 Mon Sep 17 00:00:00 2001 From: Northword <44738481+northword@users.noreply.github.com> Date: Mon, 15 Sep 2025 20:02:46 +0800 Subject: [PATCH] Fix JSDoc return types of PluginAPIBase._unregisterByPluginID --- chrome/content/zotero/xpcom/pluginAPI/pluginAPIBase.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/pluginAPI/pluginAPIBase.mjs b/chrome/content/zotero/xpcom/pluginAPI/pluginAPIBase.mjs index 646dfb583a..15aa11e7c8 100644 --- a/chrome/content/zotero/xpcom/pluginAPI/pluginAPIBase.mjs +++ b/chrome/content/zotero/xpcom/pluginAPI/pluginAPIBase.mjs @@ -340,7 +340,7 @@ class PluginAPIBase { /** * Unregister all stored options by pluginID * @param {string} pluginID - PluginID - * @returns {string[]} - The mainKeys of the unregistered options + * @returns {Promise} - The mainKeys of the unregistered options */ async _unregisterByPluginID(pluginID) { let paneIDs = Object.keys(this._optionsCache).filter(