Makes typings easier to override

This commit is contained in:
Ollie Taylor
2023-02-25 01:40:17 +00:00
parent b51bab548f
commit b9c260660d
2 changed files with 15 additions and 17 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
export type AudioPlayerElement = HTMLAudioElement | undefined;
export type AudioMetadata = Partial<{
title: string;
artwork: string;
}>;
export interface AudioMetadata {
title?: string;
artwork?: string;
}
export interface AudioLoadData extends AudioMetadata {
src: string;