(file: { name: string; type: string })
| 53 | } |
| 54 | |
| 55 | export function isImage(file: { name: string; type: string }) { |
| 56 | return accept(file, 'image/*'); |
| 57 | } |
| 58 | |
| 59 | export function isSvg(file: { name: string; type: string }) { |
| 60 | return accept(file, 'image/svg+xml'); |
no outgoing calls
no test coverage detected