summaryrefslogtreecommitdiff
path: root/ext/js/pages/settings/anki-controller.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 14:11:31 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 14:11:31 -0500
commit208c43edbd714041b7f956d288e29172f1c0ce78 (patch)
tree0ba4f267c80c1e3664ad90fd092270482dbcfd40 /ext/js/pages/settings/anki-controller.js
parentc8ac0d45bfb94deabd933117ba55d365f43fb1c5 (diff)
Update some common types
Diffstat (limited to 'ext/js/pages/settings/anki-controller.js')
-rw-r--r--ext/js/pages/settings/anki-controller.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/js/pages/settings/anki-controller.js b/ext/js/pages/settings/anki-controller.js
index 722459df..05bfdadc 100644
--- a/ext/js/pages/settings/anki-controller.js
+++ b/ext/js/pages/settings/anki-controller.js
@@ -26,10 +26,10 @@ import {yomitan} from '../../yomitan.js';
export class AnkiController {
/**
- * @param {SettingsController} settingsController
+ * @param {import('./settings-controller.js').SettingsController} settingsController
*/
constructor(settingsController) {
- /** @type {SettingsController} */
+ /** @type {import('./settings-controller.js').SettingsController} */
this._settingsController = settingsController;
/** @type {AnkiConnect} */
this._ankiConnect = new AnkiConnect();
@@ -67,7 +67,7 @@ export class AnkiController {
this._validateFieldsToken = null;
}
- /** @type {SettingsController} */
+ /** @type {import('./settings-controller.js').SettingsController} */
get settingsController() {
return this._settingsController;
}
@@ -562,12 +562,12 @@ export class AnkiController {
class AnkiCardController {
/**
- * @param {SettingsController} settingsController
+ * @param {import('./settings-controller.js').SettingsController} settingsController
* @param {AnkiController} ankiController
* @param {HTMLElement} node
*/
constructor(settingsController, ankiController, node) {
- /** @type {SettingsController} */
+ /** @type {import('./settings-controller.js').SettingsController} */
this._settingsController = settingsController;
/** @type {AnkiController} */
this._ankiController = ankiController;