Address following rules

- @typescript-eslint/no-redundant-type-constituents
This commit is contained in:
vorotamoroz
2026-06-01 03:50:51 +01:00
parent f710f03380
commit 3e65ae932d
3 changed files with 5 additions and 5 deletions
@@ -317,7 +317,7 @@ export class HiddenFileSync extends LiveSyncCommands {
this._fileInfoLastProcessed.set(file, key);
}
async updateLastProcessedAsActualFile(file: FilePath, stat?: UXStat | null | undefined) {
async updateLastProcessedAsActualFile(file: FilePath, stat?: UXStat | null) {
if (!stat) stat = await this.core.storageAccess.statHidden(file);
this._fileInfoLastProcessed.set(file, this.statToKey(stat));
}
@@ -413,7 +413,7 @@ export class HiddenFileSync extends LiveSyncCommands {
async updateLastProcessedAsActualDatabase(
file: FilePath,
doc?: MetaEntry | LoadedEntry | null | undefined | false
doc?: MetaEntry | LoadedEntry | null | false
) {
const dbPath = addPrefix(file, ICHeader);
if (!doc) doc = await this.localDatabase.getDBEntryMeta(dbPath);