File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -193,13 +193,13 @@ export interface InitOptions {
193
193
* Array of allowed languages
194
194
* @default false
195
195
*/
196
- whitelist ?: false | string [ ] ;
196
+ supportedLngs ?: false | string [ ] ;
197
197
198
198
/**
199
- * If true will pass eg. en-US if finding en in whitelist
199
+ * If true will pass eg. en-US if finding en in supportedLngs
200
200
* @default false
201
201
*/
202
- nonExplicitWhitelist ?: boolean ;
202
+ nonExplicitSupportedLngs ?: boolean ;
203
203
204
204
/**
205
205
* Language codes to lookup, given set language is
@@ -863,7 +863,7 @@ export interface i18n {
863
863
864
864
/**
865
865
* Is set to the current detected or set language.
866
- * If you need the primary used language depending on your configuration (whitelist , load) you will prefer using i18next.languages[0].
866
+ * If you need the primary used language depending on your configuration (supportedLngs , load) you will prefer using i18next.languages[0].
867
867
*/
868
868
language : string ;
869
869
You can’t perform that action at this time.
0 commit comments