CatalogShape
interface in meocord/common Since 4.1.0
interface CatalogShapeA message catalog: messages, plurals, and nested groups of them, keyed by name.
A catalog type written by hand, such as Record<string, string | PluralMessage> for JSON files or an interface that
extends CatalogShape and names its messages, gives a translator its keys. A message written as literal text has its
params checked; one typed string takes any params, which only expectCompleteCatalog checks; and a key whose value
may be text or a plural takes any params, count among them, as optional.