From 9bf0f8c39727cfccd481636433e44963b8b88331 Mon Sep 17 00:00:00 2001 From: Maksim Ivanov Date: Wed, 14 Aug 2024 18:14:49 +0300 Subject: [PATCH] feat(i18n): improve literal string union (#8516) --- projects/i18n/types/language-names.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/i18n/types/language-names.ts b/projects/i18n/types/language-names.ts index 7301fdf1a3a8..9f935733fb1f 100644 --- a/projects/i18n/types/language-names.ts +++ b/projects/i18n/types/language-names.ts @@ -1,5 +1,4 @@ export type TuiLanguageName = - | string | 'belarusian' | 'chinese' | 'dutch' @@ -18,4 +17,5 @@ export type TuiLanguageName = | 'spanish' | 'turkish' | 'ukrainian' - | 'vietnamese'; + | 'vietnamese' + | (Record & string);