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 <noreply@anthropic.com>
This commit is contained in:
Adrian Flores Cortes 2026-01-25 14:44:37 -06:00
parent bd6dd271c2
commit 873693b1d1

View File

@ -401,7 +401,7 @@ export class KpiService extends BaseService<KpiSnapshot> {
}); });
return { return {
byCategory: categoryStats.map((s) => ({ byCategory: categoryStats.map((s: any) => ({
category: s.category as KpiCategory, category: s.category as KpiCategory,
uniqueKpis: parseInt(s.uniqueKpis), uniqueKpis: parseInt(s.uniqueKpis),
totalSnapshots: parseInt(s.totalSnapshots), totalSnapshots: parseInt(s.totalSnapshots),