More stuff
This commit is contained in:
+3
-3
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user