1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-16 06:42:26 +03:00

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

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