0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05: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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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

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