You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Chore: Converts ENEX import file to TypeScript
This commit is contained in:
		| @@ -1,12 +1,11 @@ | ||||
| import { ImportExportResult } from './types'; | ||||
| import InteropService_Importer_Base from './InteropService_Importer_Base'; | ||||
| import Folder from '../../models/Folder'; | ||||
| import importEnex from '../../import-enex'; | ||||
| const { filename } = require('../../path-utils'); | ||||
|  | ||||
| export default class InteropService_Importer_EnexToHtml extends InteropService_Importer_Base { | ||||
| 	async exec(result: ImportExportResult): Promise<ImportExportResult> { | ||||
| 		const { importEnex } = require('../../import-enex'); | ||||
|  | ||||
| 	public async exec(result: ImportExportResult): Promise<ImportExportResult> { | ||||
| 		let folder = this.options_.destinationFolder; | ||||
|  | ||||
| 		if (!folder) { | ||||
|   | ||||
| @@ -1,13 +1,11 @@ | ||||
| import { ImportExportResult } from './types'; | ||||
|  | ||||
| import importEnex from '../../import-enex'; | ||||
| import InteropService_Importer_Base from './InteropService_Importer_Base'; | ||||
| import Folder from '../../models/Folder'; | ||||
| const { filename } = require('../../path-utils'); | ||||
|  | ||||
| export default class InteropService_Importer_EnexToMd extends InteropService_Importer_Base { | ||||
| 	async exec(result: ImportExportResult) { | ||||
| 		const { importEnex } = require('../../import-enex'); | ||||
|  | ||||
| 	public async exec(result: ImportExportResult) { | ||||
| 		let folder = this.options_.destinationFolder; | ||||
|  | ||||
| 		if (!folder) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user