diff --git a/UI/i18n/Translations.ts b/UI/i18n/Translations.ts index dc8080903..3002ef56d 100644 --- a/UI/i18n/Translations.ts +++ b/UI/i18n/Translations.ts @@ -42,7 +42,13 @@ export default class Translations { * */ static T( - t: string | undefined | null | Translation | TypedTranslation, + t: + | string + | Record + | undefined + | null + | Translation + | TypedTranslation, context = undefined ): TypedTranslation { if (t === undefined || t === null) {