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:
parent
bd6dd271c2
commit
873693b1d1
@ -401,7 +401,7 @@ export class KpiService extends BaseService<KpiSnapshot> {
|
||||
});
|
||||
|
||||
return {
|
||||
byCategory: categoryStats.map((s) => ({
|
||||
byCategory: categoryStats.map((s: any) => ({
|
||||
category: s.category as KpiCategory,
|
||||
uniqueKpis: parseInt(s.uniqueKpis),
|
||||
totalSnapshots: parseInt(s.totalSnapshots),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user