aboutsummaryrefslogtreecommitdiff
path: root/ext/js/language/sandbox/japanese-util.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 23:05:37 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 23:05:37 -0500
commitec67de5c0c4abc11232d3f3a8a8e9bb2fe045daa (patch)
treefa3b904556ddcb9f7248bc1628064755e072f8f5 /ext/js/language/sandbox/japanese-util.js
parenta834a57a8a960b72190148f49ef52a6d9c8279e2 (diff)
Update library types
Diffstat (limited to 'ext/js/language/sandbox/japanese-util.js')
-rw-r--r--ext/js/language/sandbox/japanese-util.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/language/sandbox/japanese-util.js b/ext/js/language/sandbox/japanese-util.js
index 4c9c46bd..6f4fc8e0 100644
--- a/ext/js/language/sandbox/japanese-util.js
+++ b/ext/js/language/sandbox/japanese-util.js
@@ -233,11 +233,11 @@ function getProlongedHiragana(previousCharacter) {
export class JapaneseUtil {
/**
- * @param {?import('wanakana')} wanakana
+ * @param {?import('wanakana')|import('../../../lib/wanakana.js')} wanakana
*/
constructor(wanakana=null) {
/** @type {?import('wanakana')} */
- this._wanakana = wanakana;
+ this._wanakana = /** @type {import('wanakana')} */ (wanakana);
}
// Character code testing functions