removes requirements for AudioMetadata

This commit is contained in:
Ollie Taylor
2023-02-24 23:29:41 +00:00
parent 34f708b1fa
commit b73cfe49bc
2 changed files with 19 additions and 11 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
export type AudioPlayerElement = HTMLAudioElement | undefined;
export interface AudioMetadata {
export type AudioMetadata = Partial<{
title: string;
artwork: string;
}
}>;
export interface AudioLoadData extends AudioMetadata {
src: string;