ghost-portal/flow-typed/i18next.js
2018-04-17 17:02:30 +02:00

24 lines
378 B
JavaScript

// @flow
declare type I18Next$Config = {
fallbackLng?: string,
ns?: Array<string>,
defaultNS?: string,
debug?: boolean,
interpolation?: {
escapeValue: boolean
},
react?: {
wait: boolean
}
};
declare module 'i18next' {
declare type I18Next = {
use: (any) => I18Next,
init: (I18Next$Config) => I18Next
};
declare module.exports: I18Next
}