formated and linted

This commit is contained in:
Elmar Kresse
2023-10-17 21:16:58 +02:00
parent 4148b0c185
commit 10d0ae0d8a
23 changed files with 581 additions and 378 deletions

View File

@@ -7,4 +7,4 @@ export type Calendar = {
id: string;
modules: Module[];
updated: string;
}
};

View File

@@ -1,4 +1,3 @@
export class Event {
constructor(
public name: string,
@@ -11,4 +10,4 @@ export class Event {
public rooms: string,
public notes: string,
) {}
}
}

View File

@@ -1,4 +1,4 @@
import { Event } from './event';
import { Event } from "./event";
export class Module {
constructor(
@@ -10,12 +10,7 @@ export class Module {
public events: Event[] = [],
) {}
isEqual(module: Module): Boolean{
return (
this.name === module.name &&
this.course === module.course
);
isEqual(module: Module): Boolean {
return this.name === module.name && this.course === module.course;
}
}