diff --git a/ts/util/i18n.ts b/ts/util/i18n.ts index 1be483037..ed556aba2 100644 --- a/ts/util/i18n.ts +++ b/ts/util/i18n.ts @@ -212,7 +212,7 @@ export const setupi18n = (locale: Locale, dictionary: LocalizerDictionary) => { } if (isPluralForm(localizedString)) { - const pluralKey = getPluralKey(localizedString) as keyof typeof args; + const pluralKey = getPluralKey(localizedString); if (!pluralKey) { i18nLog(