diff --git a/frontend/sync-client/src/persistence/database.ts b/frontend/sync-client/src/persistence/database.ts index 0abefd4f..9425c629 100644 --- a/frontend/sync-client/src/persistence/database.ts +++ b/frontend/sync-client/src/persistence/database.ts @@ -37,7 +37,7 @@ export interface DocumentRecord { documentId: DocumentId; metadata: DocumentMetadata | undefined; isDeleted: boolean; - updates: Promise[]; + updates: Promise[]; parallelVersion: number; } @@ -135,7 +135,7 @@ export class Database { this.save(); } - public removeDocumentPromise(promise: Promise): void { + public removeDocumentPromise(promise: Promise): void { const entry = this.documents.find(({ updates }) => updates.includes(promise) ); @@ -167,7 +167,7 @@ export class Database { public async getResolvedDocumentByRelativePath( relativePath: RelativePath, - promise: Promise + promise: Promise ): Promise { const entry = this.getLatestDocumentByRelativePath(relativePath); @@ -191,7 +191,7 @@ export class Database { public createNewPendingDocument( documentId: DocumentId, relativePath: RelativePath, - promise: Promise + promise: Promise ): DocumentRecord { const previousEntry = this.getLatestDocumentByRelativePath(relativePath);