aboutsummaryrefslogtreecommitdiff
path: root/ext/js/media
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/media')
-rw-r--r--ext/js/media/audio-downloader.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/js/media/audio-downloader.js b/ext/js/media/audio-downloader.js
index 7b236790..0847d479 100644
--- a/ext/js/media/audio-downloader.js
+++ b/ext/js/media/audio-downloader.js
@@ -25,10 +25,10 @@ import {SimpleDOMParser} from '../dom/simple-dom-parser.js';
export class AudioDownloader {
/**
- * @param {{japaneseUtil: JapaneseUtil, requestBuilder: RequestBuilder}} details
+ * @param {{japaneseUtil: import('../language/sandbox/japanese-util.js').JapaneseUtil, requestBuilder: RequestBuilder}} details
*/
constructor({japaneseUtil, requestBuilder}) {
- /** @type {JapaneseUtil} */
+ /** @type {import('../language/sandbox/japanese-util.js').JapaneseUtil} */
this._japaneseUtil = japaneseUtil;
/** @type {RequestBuilder} */
this._requestBuilder = requestBuilder;
@@ -314,7 +314,7 @@ export class AudioDownloader {
*/
async _downloadAudioFromUrl(url, sourceType, idleTimeout) {
let signal;
- /** @type {?(done: boolean) => void} */
+ /** @type {?import('request-builder.js').ProgressCallback} */
let onProgress = null;
/** @type {?number} */
let idleTimer = null;