blob: 78734f9ae6635066d32b7e316b2a0c075e1edc97 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import type { FormattersInitializer } from 'typesafe-i18n'
import type { Locales, Formatters } from './i18n-types'
export const initFormatters: FormattersInitializer<Locales, Formatters> = (locale: Locales) => {
const formatters: Formatters = {
// add your formatter functions here
}
return formatters
}
|