aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/display-anki.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 15:16:07 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 15:16:07 -0500
commitac562ca36417f2d9fdb860d1f8a879fdccde438d (patch)
treef0d3efffed3651a42abfb05c5e3ea6f6fd6af7ae /ext/js/display/display-anki.js
parent7aed9a371b0d74c0d75179a08068e8935b76d780 (diff)
Update types
Diffstat (limited to 'ext/js/display/display-anki.js')
-rw-r--r--ext/js/display/display-anki.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/js/display/display-anki.js b/ext/js/display/display-anki.js
index c0173697..d0da568c 100644
--- a/ext/js/display/display-anki.js
+++ b/ext/js/display/display-anki.js
@@ -24,14 +24,14 @@ import {yomitan} from '../yomitan.js';
export class DisplayAnki {
/**
- * @param {Display} display
- * @param {DisplayAudio} displayAudio
- * @param {JapaneseUtil} japaneseUtil
+ * @param {import('./display.js').Display} display
+ * @param {import('./display-audio.js').DisplayAudio} displayAudio
+ * @param {import('../language/sandbox/japanese-util.js').JapaneseUtil} japaneseUtil
*/
constructor(display, displayAudio, japaneseUtil) {
- /** @type {Display} */
+ /** @type {import('./display.js').Display} */
this._display = display;
- /** @type {DisplayAudio} */
+ /** @type {import('./display-audio.js').DisplayAudio} */
this._displayAudio = displayAudio;
/** @type {?string} */
this._ankiFieldTemplates = null;
@@ -39,11 +39,11 @@ export class DisplayAnki {
this._ankiFieldTemplatesDefault = null;
/** @type {AnkiNoteBuilder} */
this._ankiNoteBuilder = new AnkiNoteBuilder({japaneseUtil});
- /** @type {?DisplayNotification} */
+ /** @type {?import('./display-notification.js').DisplayNotification} */
this._errorNotification = null;
/** @type {?EventListenerCollection} */
this._errorNotificationEventListeners = null;
- /** @type {?DisplayNotification} */
+ /** @type {?import('./display-notification.js').DisplayNotification} */
this._tagsNotification = null;
/** @type {?Promise<void>} */
this._updateAdderButtonsPromise = null;