chore(web): restore type checks and IDE autocomplete for $t('...') (#14343)
This commit is contained in:
Vendored
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user