Update types

This commit is contained in:
Andras Schmelczer 2026-03-28 11:57:50 +00:00
parent 4493365076
commit 48234de10d
20 changed files with 43 additions and 104 deletions

View file

@ -118,10 +118,10 @@ export class Syncer {
public async syncLocallyDeletedFile(
relativePath: RelativePath
): Promise<void> {
let document =
const document =
this.database.getLatestDocumentByRelativePath(relativePath);
if (document == null || document.isDeleted === true) {
if (document == null || document.isDeleted) {
// This is must be a consequence of us deleting a file because of a remote update
// which triggered a local delete, so we don't need to do anything here.
this.logger.debug(