Skip to content

Commit

Permalink
fix(APlayer): audio accepts readonly array
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenOutman committed Jan 8, 2023
1 parent 0714888 commit cf31df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit cf31df0

Please sign in to comment.