diff options
Diffstat (limited to 'ext/js/language/sandbox/japanese-util.js')
-rw-r--r-- | ext/js/language/sandbox/japanese-util.js | 4 |
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 |