refactor: fix I18n class constructor jsdoc to resolve vscode type errors (#3195)

This commit is contained in:
Alexandr Garbuzov
2023-09-14 13:25:52 +02:00
committed by GitHub
parent 94deb04e61
commit 6370d0c44d
+1 -1
View File
@@ -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 }) {