mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Allow string or boolean for fallbackLng
This commit is contained in:
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