diff --git a/package.json b/package.json index c701e3e2d..acc51119a 100644 --- a/package.json +++ b/package.json @@ -279,11 +279,7 @@ "StartupWMClass": "Session" }, "asarUnpack": "node_modules/spellchecker/vendor/hunspell_dictionaries", - "target": [ - "deb", - "rpm", - "freebsd" - ], + "target": ["deb", "rpm", "freebsd"], "icon": "build/icon-linux.icns" }, "asarUnpack": [ diff --git a/ts/util/i18n/i18n.ts b/ts/util/i18n/i18n.ts index 7f2e7f182..f10d8bf30 100644 --- a/ts/util/i18n/i18n.ts +++ b/ts/util/i18n/i18n.ts @@ -42,7 +42,6 @@ export const setupI18n = ({ setInitialLocale(locale); const getMessageWithFunctions = getMessage; - // TODO - fix those `any` (getMessageWithFunctions as any).inEnglish = inEnglish; (getMessageWithFunctions as any).stripped = stripped; diff --git a/ts/window.d.ts b/ts/window.d.ts index 1117c5e8e..b44c35b25 100644 --- a/ts/window.d.ts +++ b/ts/window.d.ts @@ -11,9 +11,7 @@ import { I18nMethods, LocalizerDictionary, LocalizerToken, - SetupI18nReturnType, } from './types/Localizer'; -import type { Locale } from './util/i18n'; export interface LibTextsecure { messaging: boolean;