diff --git a/src/RequirementsRootView.tsx b/src/RequirementsRootView.tsx index 15772b8..4bae901 100644 --- a/src/RequirementsRootView.tsx +++ b/src/RequirementsRootView.tsx @@ -14,10 +14,10 @@ export interface Plan { readonly selectionNameToOptionName: ReadonlyMap; } export const emptyPlan: Plan = { - courseToStatus: new Map, - courseToRequirement: new Map, - requirementToOthersCount: new Map, - selectionNameToOptionName: new Map, + courseToStatus: new Map(), + courseToRequirement: new Map(), + requirementToOthersCount: new Map(), + selectionNameToOptionName: new Map(), }; const RequirementsRootView = ({ requirement, plan, onChange }: {