Update src/utils/exportUtils/exportUtils.ts

Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
pull/21833/head
Jaiwanth 2021-06-29 10:13:51 +05:30 committed by GitHub
parent 4ddbe76fbd
commit e6cb0666ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}