Files
EMS-ESP32/interface/src/i18n/formatters.ts
2024-04-20 20:46:01 +02:00

12 lines
307 B
TypeScript

import type { FormattersInitializer } from 'typesafe-i18n';
import type { Formatters, Locales } from './i18n-types';
export const initFormatters: FormattersInitializer<Locales, Formatters> = () => {
const formatters: Formatters = {
// add your formatter functions here
};
return formatters;
};