Skip to content

Commit 4792d66

Browse files
committed
add missing comment, make loaded prop private
1 parent 2495d09 commit 4792d66

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ import { hasPhpTranslations } from './utils/has-php-translations'
1010

1111
const isServer = typeof window === 'undefined'
1212

13+
/**
14+
* Stores the shared i18n class instance
15+
*/
1316
let sharedInstance: I18n = null
1417

1518
/**
@@ -111,7 +114,7 @@ export class I18n {
111114
/**
112115
* Stores the loaded languages.
113116
*/
114-
static loaded: LanguageInterface[] = []
117+
private static loaded: LanguageInterface[] = []
115118

116119
// Stores options for the current instance
117120
private options: OptionsInterface

0 commit comments

Comments
 (0)