(fileName: string)
| 8 | } |
| 9 | |
| 10 | function extractExtension(fileName: string): string { |
| 11 | const lastDot = fileName.lastIndexOf('.') |
| 12 | return lastDot !== -1 ? fileName.slice(lastDot + 1).toLowerCase() : '' |
| 13 | } |
| 14 | |
| 15 | export const MAX_FILE_SIZE = 100 * 1024 * 1024 // 100MB |
| 16 |
no outgoing calls
no test coverage detected