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'}`);