Added return type

This commit is contained in:
koloml committed 2024-10-20 00:38:22 +04:00
1 parent f9cb73bafc
commit bafdb68f1e
1 file changed
+7
@@ -5,10 +5,17 @@ export default class MiscSettings extends CacheableSettings {
super("misc");
}
/**
* @return {Promise<boolean>}
*/
async resolveFullscreenViewerEnabled() {
return this._resolveSetting("fullscreenViewer", true);
}
/**
* @param {boolean} isEnabled
* @return {Promise<void>}
*/
async setFullscreenViewerEnabled(isEnabled) {
return this._writeSetting("fullscreenViewer", isEnabled);
}