From f9070d70cff16e84669cbd325edbb4d919b893a0 Mon Sep 17 00:00:00 2001 From: Rudy Celekli Date: Sat, 26 Sep 2026 21:20:10 -0400 Subject: [PATCH] fix(memory): type aggregate removal results for strict builds --- v3/@claude-flow/cli/src/commands/memory.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v3/@claude-flow/cli/src/commands/memory.ts b/v3/@claude-flow/cli/src/commands/memory.ts index 81e32a56eb..f8f954cab5 100644 --- a/v3/@claude-flow/cli/src/commands/memory.ts +++ b/v3/@claude-flow/cli/src/commands/memory.ts @@ -957,7 +957,7 @@ const deleteCommand: Command = { try { const { deleteEntry } = await import('../memory/memory-initializer.js'); const paths = removalDbTargets(ctx.flags.path as string | undefined); - const stores = []; + const stores: Array<{ dbPath: string } & Awaited>> = []; for (const target of paths) { const { dbPath } = target; const entry = await deleteEntry({ key, namespace, ...target }); @@ -1062,7 +1062,7 @@ const purgeCommand: Command = { return { success: false, exitCode: 1 }; } - const stores = []; + const stores: Array<{ dbPath: string } & Awaited>> = []; for (const target of paths) { const purged = await purgeNamespace({ namespace, ...target }); if (!purged.success) throw new Error(`${target.dbPath}: ${purged.error || 'Failed to purge'}`);