From 0e7f9d677814acab5fe87493af71227bfa8390f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Fri, 13 Sep 2024 10:30:20 +0200 Subject: [PATCH] Fix TS error when adding support for a locale not yet supported by API (#2465) --- packages/gitbook/src/intl/translations/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/gitbook/src/intl/translations/index.ts b/packages/gitbook/src/intl/translations/index.ts index cbbb6369f0..4a2077a997 100644 --- a/packages/gitbook/src/intl/translations/index.ts +++ b/packages/gitbook/src/intl/translations/index.ts @@ -13,6 +13,8 @@ import { zh } from './zh'; export * from './types'; export const languages: { + [key: string]: TranslationLanguage; +} & { [locale in CustomizationLocale]: TranslationLanguage; } = { de,