16 lines
422 B
TypeScript
16 lines
422 B
TypeScript
export declare enum SongType {
|
|
YouTube = 0,
|
|
Spotify = 1
|
|
}
|
|
export declare class Song {
|
|
type: SongType;
|
|
title: string;
|
|
songId: string;
|
|
image: string;
|
|
constructor(type: SongType, title: string, songId: string, image: string);
|
|
}
|
|
export declare class PlayingSong extends Song {
|
|
position: number;
|
|
constructor(type: SongType, title: string, songId: string, image: string, position: number);
|
|
}
|