From 9609fa0e33bb1c7ee8bb941b27b01cb3062abfdb Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Tue, 17 Dec 2024 18:39:13 +0530 Subject: [PATCH] fix: build errors (#1959) --- web/core/local-db/utils/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/core/local-db/utils/utils.ts b/web/core/local-db/utils/utils.ts index 6cd5f3033c..b0330e057a 100644 --- a/web/core/local-db/utils/utils.ts +++ b/web/core/local-db/utils/utils.ts @@ -174,7 +174,7 @@ export const clearOPFS = async (force = false) => { return; } // ts-ignore - for await (const entry of root.values()) { + for await (const entry of (root as any)?.values()) { if (entry.kind === "directory" && entry.name.startsWith(".ahp-")) { // A lock with the same name as the directory protects it from // being deleted.