server-esm: Change some more export object to export default object

This commit is contained in:
Elian Doran
2024-07-18 21:47:30 +03:00
parent 55eecb0f61
commit 0ceae0a65e
90 changed files with 90 additions and 90 deletions

View File

@@ -409,4 +409,4 @@ function importEnex(taskContext: TaskContext, file: File, parentNote: BNote): Pr
});
}
export = { importEnex };
export default { importEnex };

View File

@@ -110,7 +110,7 @@ function normalizeMimeType(mime: string) {
return undefined;
}
export = {
export default {
getMime,
getType,
normalizeMimeType

View File

@@ -191,7 +191,7 @@ function importAttachment(taskContext: TaskContext, file: File, parentNote: BNot
}
}
export = {
export default {
importSingleFile,
importAttachment
};