1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

Chore: Improve type safety (#12992)

This commit is contained in:
Henry Heino
2025-08-19 22:33:10 -07:00
committed by GitHub
parent 30000c34ec
commit f5882ecfcc
4 changed files with 15 additions and 12 deletions

View File

@@ -596,7 +596,7 @@ export default class Synchronizer {
if (this.cancelling()) break;
let local = locals[i];
const ItemClass: typeof BaseItem = BaseItem.itemClass(local);
const ItemClass = BaseItem.itemClass(local);
const path = BaseItem.systemPath(local);
// Safety check to avoid infinite loops.