aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/search-main.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/display/search-main.js')
-rw-r--r--ext/js/display/search-main.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/js/display/search-main.js b/ext/js/display/search-main.js
index 5eee08d1..c20cc135 100644
--- a/ext/js/display/search-main.js
+++ b/ext/js/display/search-main.js
@@ -44,7 +44,9 @@ import {SearchPersistentStateController} from './search-persistent-state-control
const {tabId, frameId} = await yomitan.api.frameInformationGet();
- const japaneseUtil = new JapaneseUtil(wanakana);
+ /** @type {import('wanakana')} */
+ const wanakanaLib = wanakana;
+ const japaneseUtil = new JapaneseUtil(wanakanaLib);
const hotkeyHandler = new HotkeyHandler();
hotkeyHandler.prepare();