aboutsummaryrefslogtreecommitdiff
path: root/ext/js/language
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/language')
-rw-r--r--ext/js/language/translator.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/js/language/translator.js b/ext/js/language/translator.js
index 4f9304b5..568c12bd 100644
--- a/ext/js/language/translator.js
+++ b/ext/js/language/translator.js
@@ -27,10 +27,9 @@ import {getAllLanguageTextPreprocessors} from './languages.js';
*/
export class Translator {
/**
- * Creates a new Translator instance.
- * @param {import('translator').ConstructorDetails} details The details for the class.
+ * @param {import('../dictionary/dictionary-database.js').DictionaryDatabase} database
*/
- constructor({database}) {
+ constructor(database) {
/** @type {import('../dictionary/dictionary-database.js').DictionaryDatabase} */
this._database = database;
/** @type {LanguageTransformer} */