From 6370d0c44d5574c449ee70f62dd18a835434f8ab Mon Sep 17 00:00:00 2001 From: Alexandr Garbuzov Date: Thu, 14 Sep 2023 14:25:52 +0300 Subject: [PATCH] refactor: fix I18n class constructor jsdoc to resolve vscode type errors (#3195) --- src/common/I18n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/I18n.js b/src/common/I18n.js index 7876ed2..bd5f29f 100644 --- a/src/common/I18n.js +++ b/src/common/I18n.js @@ -8,7 +8,7 @@ class I18n { * Constructor. * * @param {Object} options Options. - * @param {string} options.locale Locale. + * @param {string=} options.locale Locale. * @param {Object} options.translations Translations. */ constructor({ locale, translations }) {