mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	refactor: add typesafety to TaskContext
This commit is contained in:
		| @@ -122,7 +122,7 @@ async function createInitialDatabase(skipDemoDb?: boolean) { | ||||
|  | ||||
|     log.info("Importing demo content ..."); | ||||
|  | ||||
|     const dummyTaskContext = new TaskContext("no-progress-reporting", "import", false); | ||||
|     const dummyTaskContext = new TaskContext("no-progress-reporting", "importNotes", null); | ||||
|  | ||||
|     if (demoFile) { | ||||
|         await zipImportService.importZip(dummyTaskContext, demoFile, rootNote); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user