aboutsummaryrefslogtreecommitdiff
path: root/ext/js/pages/settings/anki-templates-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/anki-templates-controller.js
parent208c43edbd714041b7f956d288e29172f1c0ce78 (diff)
Update types
Diffstat (limited to 'ext/js/pages/settings/anki-templates-controller.js')
-rw-r--r--ext/js/pages/settings/anki-templates-controller.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/js/pages/settings/anki-templates-controller.js b/ext/js/pages/settings/anki-templates-controller.js
index 875ade3c..89848ef3 100644
--- a/ext/js/pages/settings/anki-templates-controller.js
+++ b/ext/js/pages/settings/anki-templates-controller.js
@@ -24,15 +24,15 @@ import {yomitan} from '../../yomitan.js';
export class AnkiTemplatesController {
/**
* @param {import('./settings-controller.js').SettingsController} settingsController
- * @param {ModalController} modalController
- * @param {AnkiController} ankiController
+ * @param {import('./modal-controller.js').ModalController} modalController
+ * @param {import('./anki-controller.js').AnkiController} ankiController
*/
constructor(settingsController, modalController, ankiController) {
/** @type {import('./settings-controller.js').SettingsController} */
this._settingsController = settingsController;
- /** @type {ModalController} */
+ /** @type {import('./modal-controller.js').ModalController} */
this._modalController = modalController;
- /** @type {AnkiController} */
+ /** @type {import('./anki-controller.js').AnkiController} */
this._ankiController = ankiController;
/** @type {?import('dictionary').TermDictionaryEntry} */
this._cachedDictionaryEntryValue = null;
@@ -48,7 +48,7 @@ export class AnkiTemplatesController {
this._renderFieldInput = null;
/** @type {?HTMLElement} */
this._renderResult = null;
- /** @type {?Modal} */
+ /** @type {?import('./modal.js').Modal} */
this._fieldTemplateResetModal = null;
/** @type {AnkiNoteBuilder} */
this._ankiNoteBuilder = new AnkiNoteBuilder({japaneseUtil: new JapaneseUtil(null)});