mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Allow string or boolean for fallbackLng
This commit is contained in:
1 parent
304a251979
commit
8eab092b03
1 file changed
+2
-2
Vendored
+2
-2
@@ -23,7 +23,7 @@ interface I18nextOptions {
|
||||
preload?: string[]; // Default value: []
|
||||
lowerCaseLng?: boolean; // Default value: false
|
||||
returnObjectTrees?: boolean; // Default value: false
|
||||
fallbackLng?: string; // Default value: 'dev'
|
||||
fallbackLng?: string|boolean; // Default value: 'dev'
|
||||
detectLngQS?: string; // Default value: 'setLng'
|
||||
ns?: any; // Default value: 'translation' (string), can also be an object
|
||||
nsseparator?: string; // Default value: '::'
|
||||
@@ -135,4 +135,4 @@ declare module 'i18next' {
|
||||
|
||||
declare module 'i18next-client' {
|
||||
export = i18n;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user