aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/sandbox
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/sandbox
parent7aed9a371b0d74c0d75179a08068e8935b76d780 (diff)
Update types
Diffstat (limited to 'ext/js/display/sandbox')
-rw-r--r--ext/js/display/sandbox/pronunciation-generator.js4
-rw-r--r--ext/js/display/sandbox/structured-content-generator.js8
2 files changed, 6 insertions, 6 deletions
diff --git a/ext/js/display/sandbox/pronunciation-generator.js b/ext/js/display/sandbox/pronunciation-generator.js
index eeedc574..d113485f 100644
--- a/ext/js/display/sandbox/pronunciation-generator.js
+++ b/ext/js/display/sandbox/pronunciation-generator.js
@@ -18,10 +18,10 @@
export class PronunciationGenerator {
/**
- * @param {JapaneseUtil} japaneseUtil
+ * @param {import('../../language/sandbox/japanese-util.js').JapaneseUtil} japaneseUtil
*/
constructor(japaneseUtil) {
- /** @type {JapaneseUtil} */
+ /** @type {import('../../language/sandbox/japanese-util.js').JapaneseUtil} */
this._japaneseUtil = japaneseUtil;
}
diff --git a/ext/js/display/sandbox/structured-content-generator.js b/ext/js/display/sandbox/structured-content-generator.js
index af49b643..5a91b01c 100644
--- a/ext/js/display/sandbox/structured-content-generator.js
+++ b/ext/js/display/sandbox/structured-content-generator.js
@@ -18,14 +18,14 @@
export class StructuredContentGenerator {
/**
- * @param {DisplayContentManager|AnkiTemplateRendererContentManager} contentManager
- * @param {JapaneseUtil} japaneseUtil
+ * @param {import('../../display/display-content-manager.js').DisplayContentManager|import('../../templates/sandbox/anki-template-renderer-content-manager.js').AnkiTemplateRendererContentManager} contentManager
+ * @param {import('../../language/sandbox/japanese-util.js').JapaneseUtil} japaneseUtil
* @param {Document} document
*/
constructor(contentManager, japaneseUtil, document) {
- /** @type {DisplayContentManager|AnkiTemplateRendererContentManager} */
+ /** @type {import('../../display/display-content-manager.js').DisplayContentManager|import('../../templates/sandbox/anki-template-renderer-content-manager.js').AnkiTemplateRendererContentManager} */
this._contentManager = contentManager;
- /** @type {JapaneseUtil} */
+ /** @type {import('../../language/sandbox/japanese-util.js').JapaneseUtil} */
this._japaneseUtil = japaneseUtil;
/** @type {Document} */
this._document = document;