From 9b2c63d92ff77ebce0f90a7be05437504422bf45 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sat, 11 Feb 2023 23:37:12 +0100 Subject: feat: Render localized content from sanity --- src/global.d.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/global.d.ts (limited to 'src/global.d.ts') diff --git a/src/global.d.ts b/src/global.d.ts new file mode 100644 index 0000000..e49922a --- /dev/null +++ b/src/global.d.ts @@ -0,0 +1,13 @@ +/// + +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 -- cgit v1.3