Fix JSDoc return types of PluginAPIBase._unregisterByPluginID

This commit is contained in:
Northword 2025-09-15 20:02:46 +08:00 • committed by GitHub
parent 913d15632b
commit 91a74ed063
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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<string[]>} - The mainKeys of the unregistered options
*/
async _unregisterByPluginID(pluginID) {
let paneIDs = Object.keys(this._optionsCache).filter(