Update src/utils/exportUtils/exportUtils.ts

Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
This commit is contained in:
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

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