TranslationKey
TranslationKey<
T
,Key
>:Key
extendsstring
?T
[Key
] extendsobject
?T
[Key
] extends{ [K in Language]: string }
?Key
:`${Key}.${TranslationKey<T[Key]>}`
:`${Key}`
:never
Defined in: packages/runtime-core/lib/i18n.d.ts:5
Type Parameters
• T extends object
• Key = keyof T