(value: string)
| 103 | |
| 104 | const invalid = selected.filter((format): format is string => !isFormat(format)); |
| 105 | if (invalid.length > 0) { |
| 106 | throw new Error(`Invalid format: ${invalid.join(", ")}`); |
| 107 | } |
| 108 | |
| 109 | return selected.filter(isFormat); |
| 110 | } |
| 111 | |
| 112 | function parseCsv(value: string): string[] { |
| 113 | return value |
no outgoing calls
no test coverage detected