summaryrefslogtreecommitdiff
path: root/test/utilities/translator.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/utilities/translator.js')
-rw-r--r--test/utilities/translator.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/utilities/translator.js b/test/utilities/translator.js
index 9073b206..81081af6 100644
--- a/test/utilities/translator.js
+++ b/test/utilities/translator.js
@@ -18,10 +18,11 @@
/**
+ * TODO : This function is not very type safe at the moment, could be improved.
* @template {import('translation').FindTermsOptions|import('translation').FindKanjiOptions} T
* @param {string} dictionaryName
- * @param {import('dev/vm').OptionsPresetObject} optionsPresets
- * @param {string|import('dev/vm').OptionsPresetObject|(string|import('dev/vm').OptionsPresetObject)[]} optionsArray
+ * @param {import('test/translator').OptionsPresetObject} optionsPresets
+ * @param {import('test/translator').OptionsList} optionsArray
* @returns {T}
* @throws {Error}
*/