@forge/i18n
0.0.70.0.7-experimental-04cc2b9
out/translationValueGetter.d.ts~
out/translationValueGetter.d.tsModified+1−1
Index: package/out/translationValueGetter.d.ts
===================================================================
--- package/out/translationValueGetter.d.ts
+++ package/out/translationValueGetter.d.ts
@@ -1,9 +1,9 @@
import { ForgeSupportedLocaleCode } from './types';
interface TranslationContent {
[key: string]: string | TranslationContent;
}
-declare type TranslationContentByLocaleCode = {
+type TranslationContentByLocaleCode = {
[key in ForgeSupportedLocaleCode]?: TranslationContent;
};
export declare const getTranslationValue: (translationLookup: TranslationContentByLocaleCode, i18nKey: string, locale: ForgeSupportedLocaleCode) => string | null;
export declare const getTranslationValueFromContent: (translationContent: TranslationContent, i18nKey: string) => string | null;