- import i18next from "i18next";
+ import i18next, { i18nTyped } from "i18next";
import { getLanguage } from "./utils";
import { en } from "./translations/en";
import { el } from "./translations/el";
import { da } from "./translations/da";
import { oc } from "./translations/oc";
import { hr } from "./translations/hr";
+import { th } from "./translations/th";
// https://github.com/nimbusec-oss/inferno-i18next/blob/master/tests/T.test.js#L66
const resources = {
da,
oc,
hr,
+ th,
};
function format(value: any, format: any): any {
interpolation: { format },
});
- export { i18next as i18n, resources };
+ export const i18n = i18next as i18nTyped;
+
+ export { resources };