From 0b52cfe91a08c291f4053cb3eb9cbb103f4fe46a Mon Sep 17 00:00:00 2001 From: "stravo1@mac" Date: Wed, 9 Oct 2024 22:06:14 +0530 Subject: [PATCH] fix: typescript build error --- main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.ts b/main.ts index 31601ea..a69161d 100644 --- a/main.ts +++ b/main.ts @@ -1690,7 +1690,7 @@ export default class driveSyncPlugin extends Plugin { await this.writeToVerboseLogFile( "LOG: Connectivity lost, not deleting files from Google Drive" ); - let id; + let id: any; this.settings.filesList.map((file, index) => { if (file.name == e.path) { id = file.id; @@ -1788,7 +1788,7 @@ export default class driveSyncPlugin extends Plugin { this.finalNamesForFileID.set(id, e.path); } } else { - let id; + let id: any; if (this.renamedWhileOffline.get(e.path)) { id = this.renamedWhileOffline.get(e.path); } else {