MessageKey
type alias in meocord/common Since 4.1.0
type MessageKey<C> = {
[K in keyof C & string]: C[K] extends string
? K
: IsPlural<C[K]> extends true
? K
: `${K}.${MessageKey<C[K]>}`
}[keyof C & string]Every message key of a catalog: the dotted path to each message or plural.