ov-components: Fix available langs for allowing custom ones

master
Carlos Santos 2025-05-05 13:52:10 +02:00
parent 760cf604eb
commit 0074b28d3a
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
export type AvailableLangs = 'en' | 'es' | 'de' | 'fr' | 'cn' | 'hi' | 'it' | 'ja' | 'nl' | 'pt';
type OpenViduLangs = 'en' | 'es' | 'de' | 'fr' | 'cn' | 'hi' | 'it' | 'ja' | 'nl' | 'pt';
export type AvailableLangs = OpenViduLangs | string;
export type AdditionalTranslationsType = Record<AvailableLangs, Record<string, any>>;