Type Alias MtcuteI18nFunction<Strings, Input>

MtcuteI18nFunction: <K extends NestedKeysDelimited<Strings>>(
    lang: Input | string | null,
    key: K,
    ...params: ExtractParameter<Strings, K>,
) => I18nValueLiteral

Translation function.

Type Parameters

  • Strings
  • Input

Type declaration