mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-21 09:23:00 +00:00
feat: enable stricter type checking options
feat: make the app more fault tolerant
This commit is contained in:
@@ -2,7 +2,7 @@ import type { FormattersInitializer } from "typesafe-i18n";
|
||||
import type { Locales, Formatters } from "./i18n-types";
|
||||
|
||||
export const initFormatters: FormattersInitializer<Locales, Formatters> = (
|
||||
locale: Locales,
|
||||
_locale: Locales,
|
||||
) => {
|
||||
const formatters: Formatters = {
|
||||
// add your formatter functions here
|
||||
|
||||
Reference in New Issue
Block a user