diff --git a/src/shared/types/CourseSchedule.ts b/src/shared/types/CourseSchedule.ts index 1b3c1afb..098c8fdd 100644 --- a/src/shared/types/CourseSchedule.ts +++ b/src/shared/types/CourseSchedule.ts @@ -7,7 +7,7 @@ import { CourseMeeting, DAY_MAP } from './CourseMeeting'; * This represents the schedule for a course, which includes all the meeting times for the course, as well as helper functions for parsing, serializing, and deserializing the schedule */ export class CourseSchedule { - meetings: CourseMeeting[]; + meetings: CourseMeeting[] = []; constructor(courseSchedule?: Serialized) { if (!courseSchedule) {