From ced66c5807575cd29f6aa5632e8ad02b38c8448a Mon Sep 17 00:00:00 2001 From: ivar Date: Sun, 28 Apr 2024 22:37:30 +0200 Subject: WIP new frontend --- code/frontend/src/global.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 code/frontend/src/global.d.ts (limited to 'code/frontend/src/global.d.ts') diff --git a/code/frontend/src/global.d.ts b/code/frontend/src/global.d.ts new file mode 100644 index 0000000..13f5e16 --- /dev/null +++ b/code/frontend/src/global.d.ts @@ -0,0 +1,11 @@ +/// + +type Locales = import('$lib/i18n/i18n-types').Locales +type TranslationFunctions = import('$lib/i18n/i18n-types').TranslationFunctions + +declare namespace App { + interface Locals { + locale: Locales + LL: TranslationFunctions + } +} \ No newline at end of file -- cgit v1.3