Translate
type alias in meocord/common Since 4.1.0
type Translate<C> = <K extends MessageKey<C>>(
key: K,
...params: KeyParamsArgs<C, K>
) => stringTranslates a key into one locale's message.
The key and its params are type-checked against the default catalog.