mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 18:50:41 +01:00
server-esm: Change some more export object to export default object
This commit is contained in:
@@ -409,4 +409,4 @@ function importEnex(taskContext: TaskContext, file: File, parentNote: BNote): Pr
|
||||
});
|
||||
}
|
||||
|
||||
export = { importEnex };
|
||||
export default { importEnex };
|
||||
|
||||
@@ -110,7 +110,7 @@ function normalizeMimeType(mime: string) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
export = {
|
||||
export default {
|
||||
getMime,
|
||||
getType,
|
||||
normalizeMimeType
|
||||
|
||||
@@ -191,7 +191,7 @@ function importAttachment(taskContext: TaskContext, file: File, parentNote: BNot
|
||||
}
|
||||
}
|
||||
|
||||
export = {
|
||||
export default {
|
||||
importSingleFile,
|
||||
importAttachment
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user