Lint & format

This commit is contained in:
Andras Schmelczer 2025-02-22 17:25:26 +00:00
parent 27423bf3cd
commit ca225a71be
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
17 changed files with 94 additions and 83 deletions

View file

@ -1,5 +1,5 @@
import type { RelativePath } from "src/persistence/database";
import { Logger } from "./logger";
import type { Logger } from "./logger";
export interface CommonHistoryEntry {
status: SyncStatus;
@ -47,7 +47,7 @@ export class SyncHistory {
error: 0
};
public constructor(private logger: Logger) {}
public constructor(private readonly logger: Logger) {}
public getEntries(): HistoryEntry[] {
return [...this.entries];