Allow string or boolean for fallbackLng

This commit is contained in:
David Sidlinger
2015-07-08 10:39:45 -05:00
parent 304a251979
commit 8eab092b03
+2 -2
View File
@@ -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;
}
}