aboutsummaryrefslogtreecommitdiffstats
path: root/apps/kit/src/global.d.ts
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-10-03 10:45:26 +0200
committerivarlovlie <git@ivarlovlie.no>2022-10-03 10:45:26 +0200
commit38a07e3dfbda798010cc7f219abec911f747eaf7 (patch)
treee29b069da1ae242fb8b529c6585167888513b107 /apps/kit/src/global.d.ts
parent91ecf0296bfcae7b2233a199bd2e5ae13e89927d (diff)
downloadgreatoffice-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.ts13
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