mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
chore(web): restore type checks and IDE autocomplete for $t('...') (#14343)
This commit is contained in:
parent
ca37a13b25
commit
51de108d43
1 changed files with 1 additions and 1 deletions
2
web/src/app.d.ts
vendored
2
web/src/app.d.ts
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue