Skip to content

Commit

Permalink
fix: CourseContent type arg should have a default value
Browse files Browse the repository at this point in the history
  • Loading branch information
AsakuraMizu committed Jul 1, 2024
1 parent e4566ee commit 17dfd17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ interface ICourseContent<T extends ContentType> {
[id: string]: ContentTypeMap[T][];
}

export type CourseContent<T extends ContentType> = ICourseContent<T>;
export type CourseContent<T extends ContentType = ContentType> = ICourseContent<T>;

export interface CalendarEvent {
location: string;
Expand Down

0 comments on commit 17dfd17

Please sign in to comment.