fix: Fix lint errors (#559)
* cleanup: postactions styling * misc: fix first round of errors * pkg: remove vitest * fix: fix lint errors stage 2 * fix: fix lint errors stage 3 * fix: fix lint errors, stage 3 * misc: update eslint rules to warn for writable derived
This commit is contained in:
1 parent
1824245f13
commit
76c581123a
225 files changed
+1553
-2352
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import i18n, { type Config } from 'sveltekit-i18n'
|
||||
import i18n, { type Config, type Parser } from 'sveltekit-i18n'
|
||||
|
||||
const config: Config = {
|
||||
loaders: [
|
||||
@@ -116,4 +116,8 @@ export const aliases = new Map([
|
||||
['he-IL', 'he'],
|
||||
])
|
||||
|
||||
export let { t, locale, locales, loading, loadTranslations } = new i18n(config)
|
||||
export const { t, locale, locales, loading, loadTranslations } = new i18n<
|
||||
Parser.Params<any, object>, // eslint-disable-line
|
||||
object,
|
||||
object
|
||||
>(config)
|
||||
Reference in new issue
Block a user