From 126d967ba32d4fc44e87772a14733132f929c47e Mon Sep 17 00:00:00 2001 From: Codeman maintainer Date: Wed, 4 Nov 2026 17:04:46 +0100 Subject: [PATCH] docs: put the remove() comment back on remove() (#693) Co-Authored-By: Claude Opus 5.5 --- src/edit-history-store.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/edit-history-store.ts b/src/edit-history-store.ts index 1cccb961..8b0bdd33 100644 --- a/src/edit-history-store.ts +++ b/src/edit-history-store.ts @@ -569,15 +569,15 @@ export class EditHistoryStore { await run; } - /** - * Delete the persisted file (session deleted) and forget the content. The store takes no - * changes afterwards, so a read still in flight neither writes nor refills it. - */ /** True once {@link remove} ran: the store ignores every later write. */ isRemoved(): boolean { return this.removed; } + /** + * Delete the persisted file (session deleted) and forget the content. The store takes no + * changes afterwards, so a read still in flight neither writes nor refills it. + */ async remove(): Promise { this.removed = true; if (this.saveTimer) {