From 873693b1d11c8ff1f9edaf1005b40e72a7ac18c4 Mon Sep 17 00:00:00 2001 From: Adrian Flores Cortes Date: Sun, 25 Jan 2026 14:44:37 -0600 Subject: [PATCH] fix(reports): Add type annotation for 's' parameter in kpi.service.ts map callback Parameter 's' in the categoryStats.map() callback on line 404 was implicitly typed as 'any', causing TS7006 error. Added explicit 'any' type annotation to resolve the TypeScript compilation error. Co-Authored-By: Claude Opus 4.5 --- src/modules/reports/services/kpi.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/reports/services/kpi.service.ts b/src/modules/reports/services/kpi.service.ts index 5e5ad0e..8df4937 100644 --- a/src/modules/reports/services/kpi.service.ts +++ b/src/modules/reports/services/kpi.service.ts @@ -401,7 +401,7 @@ export class KpiService extends BaseService { }); return { - byCategory: categoryStats.map((s) => ({ + byCategory: categoryStats.map((s: any) => ({ category: s.category as KpiCategory, uniqueKpis: parseInt(s.uniqueKpis), totalSnapshots: parseInt(s.totalSnapshots),