From 3b504f6ed4e890bebb46d0481aba15b43050323a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Mar 2023 12:01:21 +0100 Subject: Add ability for plugins to alter video jsonld --- shared/core-utils/i18n/i18n.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'shared/core-utils/i18n') diff --git a/shared/core-utils/i18n/i18n.ts b/shared/core-utils/i18n/i18n.ts index c43e249a6..38c1b0cc9 100644 --- a/shared/core-utils/i18n/i18n.ts +++ b/shared/core-utils/i18n/i18n.ts @@ -75,8 +75,7 @@ const I18N_LOCALE_ALIAS = { 'zh': 'zh-Hans-CN' } -export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES) - .concat(Object.keys(I18N_LOCALE_ALIAS)) +export const POSSIBLE_LOCALES = (Object.keys(I18N_LOCALES) as string[]).concat(Object.keys(I18N_LOCALE_ALIAS)) export function getDefaultLocale () { return 'en-US' -- cgit v1.2.3