mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
new linting, make sure code is type safe
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type { Locales, Formatters } from './i18n-types';
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user