fix: injection not working from som/elie commit (#145)
This commit is contained in:
@@ -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
|
* 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 {
|
export class CourseSchedule {
|
||||||
meetings: CourseMeeting[];
|
meetings: CourseMeeting[] = [];
|
||||||
|
|
||||||
constructor(courseSchedule?: Serialized<CourseSchedule>) {
|
constructor(courseSchedule?: Serialized<CourseSchedule>) {
|
||||||
if (!courseSchedule) {
|
if (!courseSchedule) {
|
||||||
|
|||||||
Reference in New Issue
Block a user