More stuff

This commit is contained in:
Torben Pi Jensen
2023-11-09 20:59:18 +01:00
parent 9c640ace62
commit c3ef658282
3 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -5,13 +5,13 @@ export enum SongType {
export class Song {
constructor(public type: SongType, public title: string, public songId: string, public image: string, public length: number) {
constructor(public type: SongType, public title: string, public songId: string, public image: string) {
}
}
export class PlayingSong extends Song {
constructor(type: SongType, title: string, songId: string, image: string, length: number, public position: number) {
super(type, title, songId, image, length);
constructor(type: SongType, title: string, songId: string, image: string, public length: number, public position: number) {
super(type, title, songId, image);
}
}