aboutsummaryrefslogtreecommitdiff
path: root/ext/js/language
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/language')
-rw-r--r--ext/js/language/text-scanner.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/language/text-scanner.js b/ext/js/language/text-scanner.js
index 164e150e..9c254e44 100644
--- a/ext/js/language/text-scanner.js
+++ b/ext/js/language/text-scanner.js
@@ -22,7 +22,7 @@ import {TextSourceElement} from '../dom/text-source-element.js';
import {yomitan} from '../yomitan.js';
/**
- * @augments EventDispatcher<import('text-scanner').EventType>
+ * @augments EventDispatcher<import('text-scanner').Events>
*/
export class TextScanner extends EventDispatcher {
/**
@@ -1597,7 +1597,7 @@ export class TextScanner extends EventDispatcher {
}
/**
- * @param {string} reason
+ * @param {import('text-scanner').ClearReason} reason
*/
_triggerClear(reason) {
this.trigger('clear', {reason});