diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-10-03 10:45:26 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-10-03 10:45:26 +0200 |
| commit | 38a07e3dfbda798010cc7f219abec911f747eaf7 (patch) | |
| tree | e29b069da1ae242fb8b529c6585167888513b107 /apps/kit/src/global.d.ts | |
| parent | 91ecf0296bfcae7b2233a199bd2e5ae13e89927d (diff) | |
| download | greatoffice-38a07e3dfbda798010cc7f219abec911f747eaf7.tar.xz greatoffice-38a07e3dfbda798010cc7f219abec911f747eaf7.zip | |
feat: Fully functioning i18n
Diffstat (limited to 'apps/kit/src/global.d.ts')
| -rw-r--r-- | apps/kit/src/global.d.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/kit/src/global.d.ts b/apps/kit/src/global.d.ts new file mode 100644 index 0000000..e49922a --- /dev/null +++ b/apps/kit/src/global.d.ts @@ -0,0 +1,13 @@ +/// <reference types="@sveltejs/kit" /> + +type Locales = import('$i18n/i18n-types').Locales +type TranslationFunctions = import('$i18n/i18n-types').TranslationFunctions + +declare namespace App { + interface Locals { + locale: Locales + LL: TranslationFunctions + } + + // interface Platform { } +}
\ No newline at end of file |
