{"version":3,"sources":["../src/types.ts"],"sourcesContent":["// The 'any' is required as strict typescript otherwise complains about different function parameters in\n// the TranslationEntries object\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type TranslationEntry<V extends object = any> = string | ((values: V) => string)\n\nexport type TranslationEntries = Record<string, TranslationEntry>\n\nexport type Translation<L extends string, T extends TranslationEntries = TranslationEntries> = Record<L, T>\n\nexport type PartialTranslation<L extends string, T extends TranslationEntries = TranslationEntries> = Partial<Record<L, Partial<T>>>\n\nexport type TranslationExtension<\n  L1 extends string,\n  L2 extends string,\n  T1 extends TranslationEntries,\n  T2 extends TranslationEntries\n> = Translation<L1 | L2, T1 & T2>\n\nexport type PartialTranslationExtension<\n  L1 extends string,\n  L2 extends string,\n  T1 extends TranslationEntries,\n  T2 extends TranslationEntries\n> = PartialTranslation<L1 | L2, T1 & T2>"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}