Skip to content

Commit

Permalink
fix: typescript build error
Browse files Browse the repository at this point in the history
  • Loading branch information
stravo1 committed Oct 9, 2024
1 parent 5853370 commit 0b52cfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 0b52cfe

Please sign in to comment.