1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-08 23:07:06 +02:00

chore(web): restore type checks and IDE autocomplete for $t('...') (#14343)

This commit is contained in:
Michel Heusschen
2024-11-25 19:10:12 +01:00
committed by GitHub
parent ca37a13b25
commit 51de108d43

2
web/src/app.d.ts vendored
View File

@ -28,7 +28,7 @@ interface Element {
requestFullscreen?(options?: FullscreenOptions): Promise<void>; requestFullscreen?(options?: FullscreenOptions): Promise<void>;
} }
import type en from '$lib/en.json'; import type en from '$i18n/en.json';
import 'svelte-i18n'; import 'svelte-i18n';
type NestedKeys<T, K = keyof T> = K extends keyof T & string type NestedKeys<T, K = keyof T> = K extends keyof T & string