Skip to content

Commit

Permalink
Fix 'Missing '()' invoking a constructor'
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroto7 committed Oct 20, 2019
1 parent f4318b7 commit c2704cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/RequirementsRootView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ export interface Plan {
readonly selectionNameToOptionName: ReadonlyMap<string, string>;
}
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 }: {
Expand Down

0 comments on commit c2704cd

Please sign in to comment.