(path: string)
| 48 | } |
| 49 | |
| 50 | export function normalizeImagePath(path: string): string { |
| 51 | return path.replace(/\\/g, '/'); |
| 52 | } |
| 53 | |
| 54 | export function isImageFile(path: string): boolean { |
| 55 | const lowerPath = path.toLowerCase(); |
no outgoing calls
no test coverage detected