Type Alias TranslatorFn

Source
Expand description

i18next translator function

The options contain variables to be interpolated into the translation

type TranslatorFn = (key: string, options?: Record<string, unknown>) => string