aboutsummaryrefslogtreecommitdiff
path: root/ext/js/pages/settings/dictionary-import-controller.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 14:19:50 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 14:19:50 -0500
commit5dc16745468c229e7c31f6cddaad83fb9c36b98f (patch)
tree19d812914c9a95019f30bf7ba800f892c0f94ab8 /ext/js/pages/settings/dictionary-import-controller.js
parent208c43edbd714041b7f956d288e29172f1c0ce78 (diff)
Update types
Diffstat (limited to 'ext/js/pages/settings/dictionary-import-controller.js')
-rw-r--r--ext/js/pages/settings/dictionary-import-controller.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/js/pages/settings/dictionary-import-controller.js b/ext/js/pages/settings/dictionary-import-controller.js
index 04128b1a..d1255e11 100644
--- a/ext/js/pages/settings/dictionary-import-controller.js
+++ b/ext/js/pages/settings/dictionary-import-controller.js
@@ -25,15 +25,15 @@ import {DictionaryController} from './dictionary-controller.js';
export class DictionaryImportController {
/**
* @param {import('./settings-controller.js').SettingsController} settingsController
- * @param {ModalController} modalController
- * @param {StatusFooter} statusFooter
+ * @param {import('./modal-controller.js').ModalController} modalController
+ * @param {import('./status-footer.js').StatusFooter} statusFooter
*/
constructor(settingsController, modalController, statusFooter) {
/** @type {import('./settings-controller.js').SettingsController} */
this._settingsController = settingsController;
- /** @type {ModalController} */
+ /** @type {import('./modal-controller.js').ModalController} */
this._modalController = modalController;
- /** @type {StatusFooter} */
+ /** @type {import('./status-footer.js').StatusFooter} */
this._statusFooter = statusFooter;
/** @type {boolean} */
this._modifying = false;
@@ -45,7 +45,7 @@ export class DictionaryImportController {
this._importFileButton = null;
/** @type {?HTMLInputElement} */
this._importFileInput = null;
- /** @type {?Modal} */
+ /** @type {?import('./modal.js').Modal} */
this._purgeConfirmModal = null;
/** @type {?HTMLElement} */
this._errorContainer = null;
@@ -95,7 +95,7 @@ export class DictionaryImportController {
*/
_onPurgeButtonClick(e) {
e.preventDefault();
- /** @type {Modal} */ (this._purgeConfirmModal).setVisible(true);
+ /** @type {import('./modal.js').Modal} */ (this._purgeConfirmModal).setVisible(true);
}
/**
@@ -103,7 +103,7 @@ export class DictionaryImportController {
*/
_onPurgeConfirmButtonClick(e) {
e.preventDefault();
- /** @type {Modal} */ (this._purgeConfirmModal).setVisible(false);
+ /** @type {import('./modal.js').Modal} */ (this._purgeConfirmModal).setVisible(false);
this._purgeDatabase();
}