Skip to content

Commit 8fab0ea

Browse files
committed
fix(format): lint
1 parent 9558452 commit 8fab0ea

6 files changed

+392
-386
lines changed

src/i18n/formatters.ts

+2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ export const initFormatters: FormattersInitializer<Locales, Formatters> = (local
66
// add your formatter functions here
77
}
88

9+
console.log(locale)
10+
911
return formatters
1012
}

src/i18n/i18n-svelte.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ import { initI18nSvelte } from 'typesafe-i18n/svelte'
55
import type { Formatters, Locales, TranslationFunctions, Translations } from './i18n-types'
66
import { loadedFormatters, loadedLocales } from './i18n-util'
77

8-
const { locale, LL, setLocale } = initI18nSvelte<Locales, Translations, TranslationFunctions, Formatters>(loadedLocales, loadedFormatters)
8+
const { locale, LL, setLocale } = initI18nSvelte<
9+
Locales,
10+
Translations,
11+
TranslationFunctions,
12+
Formatters
13+
>(loadedLocales, loadedFormatters)
914

1015
export { locale, LL, setLocale }
1116

0 commit comments

Comments
 (0)