From b3def235f951b6a663326ea26995a62b71c28d0a Mon Sep 17 00:00:00 2001 From: Aaron Shafovaloff Date: Tue, 26 Nov 2024 08:00:48 -0700 Subject: [PATCH] docs: tweaked a few code comments --- packages/idb-cache/src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/idb-cache/src/index.ts b/packages/idb-cache/src/index.ts index 5e36f17..6f1e0cd 100644 --- a/packages/idb-cache/src/index.ts +++ b/packages/idb-cache/src/index.ts @@ -71,8 +71,7 @@ export interface IDBCacheConfig { */ debug?: boolean; /** - * Milliseconds after which cached items are considered eligible - * for removal during garbage collection. + * Milliseconds after which cached items are considered eligible for removal. */ maxAge?: number; /** @@ -233,7 +232,8 @@ export class IDBCache implements IDBCacheInterface { } /** - * Cleans up the cache by removing expired items, flushing busted cache items, and enforcing the maxTotalChunks limit. + * Cleans up the cache by removing expired items, flushing busted cache items, + * and enforcing the maxTotalChunks limit. * @throws {DatabaseError} If there is an issue accessing the database. */ public async cleanup(): Promise {