mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-19 16:32:58 +00:00
12 lines
312 B
TypeScript
12 lines
312 B
TypeScript
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
|
|
}
|