From e6cb0666efae673657c496719e47900fcd85a57d Mon Sep 17 00:00:00 2001 From: Jaiwanth Date: Tue, 29 Jun 2021 10:13:51 +0530 Subject: [PATCH] Update src/utils/exportUtils/exportUtils.ts Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com> --- src/utils/exportUtils/exportUtils.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/exportUtils/exportUtils.ts b/src/utils/exportUtils/exportUtils.ts index 2baff69b36..07da0ee7af 100644 --- a/src/utils/exportUtils/exportUtils.ts +++ b/src/utils/exportUtils/exportUtils.ts @@ -13,7 +13,7 @@ export enum exportTypes { LAST_N_MESSAGES = "LAST_N_MESSAGES", } -export const textForFormat = (format: string) => { +export const textForFormat = (format: string): string => { switch (format) { case exportFormats.HTML: return _t("HTML"); @@ -43,4 +43,3 @@ export interface exportOptions { attachmentsIncluded: boolean; maxSize: number; } -