(formats: readonly string[])
| 8 | export type MusicFormat = (typeof MUSIC_FORMATS)[number]; |
| 9 | |
| 10 | export function formatList(formats: readonly string[]): string { |
| 11 | return formats.join(', '); |
| 12 | } |
| 13 | |
| 14 | export function validateAudioFormat(format: string, formats: readonly string[]): void { |
| 15 | if (!(formats as readonly string[]).includes(format)) { |
no outgoing calls
no test coverage detected