Common stuff initial

This commit is contained in:
Torben Pi Jensen
2023-11-05 15:27:38 +01:00
parent f6790de669
commit 1e98cc84d5
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -3,8 +3,8 @@ export declare class Song {
title: string;
url: string;
image: string;
length: number;
constructor(type: SongType, title: string, url: string, image: string, length: number);
length: number | null;
constructor(type: SongType, title: string, url: string, image: string, length?: number | null);
}
export declare enum SongType {
YouTube = 0,