1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-13 00:10:37 +02:00

Chore: Add more types to export modules

This commit is contained in:
Laurent Cozic
2023-12-15 18:18:11 +00:00
parent 02658370a6
commit d2fe33183b
13 changed files with 57 additions and 42 deletions

View File

@ -23,7 +23,7 @@ export default class JoplinInterop {
public async registerExportModule(module: ExportModule) {
const internalModule = makeExportModule({
...module,
...module as any,
type: ModuleType.Exporter,
fileExtensions: module.fileExtensions ? module.fileExtensions : [],
}, () => new InteropService_Exporter_Custom(module));