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

This commit is contained in:
Alexandr Garbuzov 2023-09-14 14:25:52 +03:00 committed by GitHub
parent 94deb04e61
commit 6370d0c44d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 }) {