diff --git a/src/components/player.tsx b/src/components/player.tsx index 73cefe0..636e993 100644 --- a/src/components/player.tsx +++ b/src/components/player.tsx @@ -16,7 +16,7 @@ import { useThemeColor } from "../hooks/useThemeColor"; * @see https://aplayer.js.org/#/home?id=options */ type APlayerProps = { - audio: AudioInfo | AudioInfo[]; + audio: AudioInfo | readonly AudioInfo[]; theme?: string;