partey_workadventure/front/src/i18n/formatters.ts

12 lines
408 B
TypeScript
Raw Normal View History

2022-01-21 17:06:03 +01:00
import type { AsyncFormattersInitializer } from "typesafe-i18n";
import type { Locales, Formatters } from "./i18n-types";
// eslint-disable-next-line @typescript-eslint/require-await
export const initFormatters: AsyncFormattersInitializer<Locales, Formatters> = async (locale: Locales) => {
const formatters: Formatters = {
// add your formatter functions here
};
return formatters;
};