Update modify angular.json to add allowedCommonJsDependencies; adjust responseCounts type in home.page.ts
This commit is contained in:
@@ -22,7 +22,7 @@ import type { Survey } from '../shared/models/survey.models';
|
||||
export class HomePage implements OnInit, OnDestroy {
|
||||
surveys: Survey[] = [];
|
||||
/** Map from surveyId → response count (refreshed on each emission) */
|
||||
responseCounts: Record<string, number> = {};
|
||||
responseCounts: Record<string, number | undefined> = {};
|
||||
|
||||
private surveySubscription?: Subscription;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user